Re: [INTERFACES] Postgresql + lo

From: "Jeremy Bettis" <jeremy(at)hksys(dot)com>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] Postgresql + lo
Date: 1999-07-23 14:25:53
Message-ID: 003e01bed517$460d3f70$0d01000a@hksys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hksys(dot)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 :-(.)

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 1999-07-23 16:23:44 Re: SSL patch
Previous Message Tom Lane 1999-07-23 14:05:36 Re: [INTERFACES] New asynchronous tcl postgresql interface