RE: [INTERFACES] libpq, large Objects

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'John Huttley'" <john(at)mwk(dot)co(dot)nz>, 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 08:55:17
Message-ID: 1B3D5E532D18D311861A00600865478C9FBC@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)mwk(dot)co(dot)nz]
Sent: Tuesday, June 22, 1999 5:46 AM
To: spertus(at)ella(dot)mills(dot)edu
Cc: PGSQL-Interfaces
Subject: Re: [INTERFACES] libpq, large Objects

-----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 Herouth Maoz 1999-06-22 09:08:37 Re: [INTERFACES] Newbie JDBC Datetime Question
Previous Message Michael Meskes 1999-06-22 08:46:02 Re: [INTERFACES] esql\c documentation