From: | Ken Causey <ken(at)premiernet(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-interfaces(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [INTERFACES] Problem with Large Object Interface of pgsql_perl5 |
Date: | 2000-03-31 19:39:06 |
Message-ID: | 3.0.1.32.20000331133906.017ba9f0@premiernet.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-interfaces |
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(at)premiernet(dot)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
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | brad | 2000-03-31 19:42:51 | Re: doing backups |
Previous Message | Herbert Liechti | 2000-03-31 18:53:28 | Re: Apache::Session in PostgreSQL |
From | Date | Subject | |
---|---|---|---|
Next Message | Guido Medina | 2000-03-31 21:01:31 | Java & postgreSQL |
Previous Message | Tom Lane | 2000-03-31 18:11:18 | Re: Problem with Large Object Interface of pgsql_perl5 |