Re: [INTERFACES] Postgresql + lo - Mailing list pgsql-interfaces

From Jeremy Bettis
Subject Re: [INTERFACES] Postgresql + lo
Date
Msg-id 003e01bed517$460d3f70$0d01000a@hksys.com
Whole thread Raw
In response to Re: [INTERFACES] Postgresql + lo  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
I ran into this same problem. I think some of the source of the confusion is
that the perl5 interface documentation do not mention any such restriction.
--
Jeremy Bettis
jeremy@hksys.com


> You need "begin transaction"/"end transaction" around the use of the
> LO handle (ie, surrounding lo_open ... lo_close).
>
> The documentation has always stated that lo_open must be wrapped in
> a transaction, but Postgres versions before 6.5 didn't enforce that
> rule.  (Instead, they'd just fail occasionally if you broke it :-(.)




pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [INTERFACES] New asynchronous tcl postgresql interface
Next
From: Tom Lane
Date:
Subject: Re: SSL patch