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

From Peter Mount
Subject RE: [INTERFACES] libpq, large Objects
Date
Msg-id 1B3D5E532D18D311861A00600865478C9FBC@exchange1.nt.maidstone.gov.uk
Whole thread Raw
List pgsql-interfaces
blobtest is one of the JDBC large object examples. I think the libpq
equivalents are called something else.

Peter

-- 
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.


-----Original Message-----
From: John Huttley [mailto:john@mwk.co.nz]
Sent: Tuesday, June 22, 1999 5:46 AM
To: spertus@ella.mills.edu
Cc: PGSQL-Interfaces
Subject: Re: [INTERFACES] libpq, large Objects



-----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: Michael Meskes
Date:
Subject: Re: [INTERFACES] esql\c documentation
Next
From: Herouth Maoz
Date:
Subject: Re: [INTERFACES] Newbie JDBC Datetime Question