Re: [INTERFACES] libpq, large Objects

From: "John Huttley" <john(at)mwk(dot)co(dot)nz>
To: <spertus(at)ella(dot)mills(dot)edu>
Cc: "PGSQL-Interfaces" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [INTERFACES] libpq, large Objects
Date: 1999-06-22 04:45:49
Message-ID: 006701bebc6a$1d1938a0$1401a8c0@Mr_Creosote.MWK.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


-----Original Message-----
From: spertus(at)ella(dot)mills(dot)edu <spertus(at)ella(dot)mills(dot)edu>
To: John Huttley <john(at)mwk(dot)co(dot)nz>
Date: Monday, 21 June 1999 11:06
Subject: Re: [INTERFACES] libpq, large Objects

>> I've been programming with libpq and things have been
>> working quite well.
>
>Were you able to get blobtest to work?
>
> Ellen
>

I dont know what blobtest is.

However I was able to store LO data in a tuple using the lo_import function.

Then in my program, I malloc'd a storage area and was able to read the
object into it.
It needs lo_tell to find out how big it is.

I don't need to do any random reads or write to LO's.

Regards

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jeff Eidsness 1999-06-22 06:06:18 please help
Previous Message John Huttley 1999-06-22 04:42:52 Re: [INTERFACES] libpq, large Objects