Re: lo_open problems

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: James Leigh <james(dot)leigh(at)ottawa(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: lo_open problems
Date: 2002-03-05 20:00:00
Message-ID: 200203052000.g25K00D13419@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

James Leigh wrote:
> Tthat was it, Thanks. I did not see that in the docs, it should be
> added.
>
> cheers,
> james
>
>
> On Mon, 2002-03-04 at 18:10, Tom Lane wrote:
> > James Leigh <james(dot)leigh(at)ottawa(dot)com> writes:
> > > I am using some large object, but lo_open always returns -1. I don't
> > > know why.
> >
> > Are you doing this inside a transaction block?
> >

I see it in the docs. It is missing somewhere else?

<note>
<para>
All large object manipulation <emphasis>must</emphasis> take
place within an SQL transaction. This requirement is strictly
enforced as of <productname>PostgreSQL 6.5</>, though it has been an
implicit requirement in previous versions, resulting in
misbehavior if ignored.
</para>
</note>
</para>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Fernando Schapachnik 2002-03-05 20:14:58 Database quota
Previous Message Lamar Owen 2002-03-05 19:59:27 Re: Mandrake RPMs uploaded