>>>>> "tl" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
ecm> ERROR: lo_tell: invalid large object descriptor (0)
tl> Are you remembering to wrap this sequence in a transaction block
tl> (begin/end)? LO descriptors are only valid till end of
tl> transaction.
that was it, thanks. The code used to work with PostgreSQL 6.3, and I
hadn't seen the relevant warning in the programmer's guide.
--
Eric Marsden <URL:http://www.laas.fr/~emarsden/>