Stephen,
Thanks! That was it.
A quick check of the code for how psql does it also confirms that!
(src/bin/psql/large_obj.c)
Ciao
--Louis <louis@bertrandtech.on.ca>
Louis Bertrand http://www.bertrandtech.on.ca/
Bertrand Technical Services, Bowmanville, ON, Canada
Tel: +1.905.623.1500 Fax: +1.905.623.3852
OpenBSD: Secure by default. http://www.openbsd.org/
On Thu, 11 Jan 2001, Stephen van Egmond wrote:
> Louis Bertrand (louis@bertrandtech.on.ca) wrote:
> > Any clues? Known bug in pg_loopen? Pilot error?
>
> I think large objects need to be read in a begin/end block. The
> annotated PHP covers this in the user comments...
>