Re: problem with fe/be protocol and large objects

Eric Marsden <emarsden@mail.dotcom.fr>

From: Eric Marsden <emarsden@mail.dotcom.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2001-03-13T16:31:33Z
Lists: pgsql-hackers
>>>>> "tl" == Tom Lane <tgl@sss.pgh.pa.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/>