pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken Causey <ken@premiernet.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [INTERFACES] Problem with Large Object Interface of pgsql_perl5
Date: Fri, 31 Mar 2000 13:39:06 -0600
Message-ID: <3.0.1.32.20000331133906.017ba9f0@premiernet.net> (raw)
In-Reply-To: <9673.954526278@sss.pgh.pa.us>
References: <3.0.1.32.20000331101855.016db34c@premiernet.net>
	<3.0.1.32.20000331101855.016db34c@premiernet.net>

Edmund Mergl was kind enough to point out my error and now
that I look back at the Programmer's documentation I see it.  Someone
might want to update the Pg man page to reflect this.  Thanks!

Ken Causey
PremierNET, Inc.

At 01:11 PM 3/31/00 -0500, Tom Lane wrote:
>Ken Causey <ken@premiernet.net> writes:
>> Can anyone tell me what I'm doing wrong?
>
>Not doing the lo_open inside a transaction.  You need begin ... end
>around any use of an open large object.  (This has always been true,
>but older versions of Postgres didn't enforce it --- they'd just die
>occasionally if you broke the rule.  Now, open LO handles are auto-
>closed at transaction commit, which is to say at end of statement
>if you're not inside a BEGIN block.)
>
>			regards, tom lane
>
>



view thread (3+ messages)

Message-ID: <3.0.1.32.20000331133906.017ba9f0@premiernet.net>
Permalink:  ../3.0.1.32.20000331133906.017ba9f0@premiernet.net/
Also on:    postgresql.org/message-id/3.0.1.32.20000331133906.017ba9f0@premiernet.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ken@premiernet.net, tgl@sss.pgh.pa.us, pgsql-general@postgresql.org
  Subject: Re: [INTERFACES] Problem with Large Object Interface of pgsql_perl5
  In-Reply-To: <3.0.1.32.20000331133906.017ba9f0@premiernet.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox