Re: [INTERFACES] libpq, large Objects - Mailing list pgsql-interfaces

From John Huttley
Subject Re: [INTERFACES] libpq, large Objects
Date
Msg-id 006701bebc6a$1d1938a0$1401a8c0@Mr_Creosote.MWK.co.nz
Whole thread Raw
List pgsql-interfaces
-----Original Message-----
From: spertus@ella.mills.edu <spertus@ella.mills.edu>
To: John Huttley <john@mwk.co.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





pgsql-interfaces by date:

Previous
From: "John Huttley"
Date:
Subject: Re: [INTERFACES] libpq, large Objects
Next
From: Jeff Eidsness
Date:
Subject: please help