Re: [SQL] Large Objects and Bytea

2003-09-25 Thread elein
In this week's General Bits, we talk about using large objects. Perhaps this might help you understand what is involved with using them. http://www.varlena.com/GeneralBits/ cheers, [EMAIL PROTECTED] On Thu, Sep 25, 2003 at 09:41:28AM +0530, Kumar wrote: > Hi Friends, > > I am running Postgre

Re: [SQL] Large Objects and Bytea

2003-09-24 Thread sad
Hi, Friends ! On Thursday 25 September 2003 08:11, you wrote: > I am migrating MS SQL DB to Postgres DB. I have tables with columns of data > type 'Image' in the MS SQL database. IF I choose 'bytea' datatype, I am > afraid it may lead to poor performance of the database (which I read from > the m

Re: [SQL] Large Objects - lo_export

2001-06-06 Thread [EMAIL PROTECTED]
You must be logged in as the unix user postgres. (Presuming /home/postgres/ is writable by postgres and the file doesn't exist.) Try doing touch /home/postgres/junk.tgz from the command line. It should also fail. Troy > > > Hi to list ! > > while running psql as 'postgres' user, i exec

Re: [SQL] Large Objects

2000-10-23 Thread pgsql-sql
FROM test.pl of DBD-Pg-0.93.tar ... # test large objects # create large object from binary file my ($ascii, $pgin); foreach $ascii (0..255) { $pgin .= chr($ascii); }; my $PGIN = '/tmp/pgin'; open(PGIN, ">$PGIN") or die "can not open $PGIN"; print PGIN $pgin; close