Skip site navigation (1) Skip section navigation (2)

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$ (view raw, whole thread or download thread mbox)
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

> 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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group