Re: Binary large object processing problems - Mailing list pgsql-general

From Tom Lane
Subject Re: Binary large object processing problems
Date
Msg-id 1885980.1678724307@sss.pgh.pa.us
Whole thread Raw
In response to Re: Binary large object processing problems  (Raivo Rebane <raivore55@gmail.com>)
Responses Re: Binary large object processing problems  (Raivo Rebane <raivore55@gmail.com>)
List pgsql-general
Raivo Rebane <raivore55@gmail.com> writes:
> Thank for answer, but I was also readed this manual and found there :
> 35.3.2. Importing a Large Object

You need to read the start of that section, which says

    All large object manipulation using these functions
    <emphasis>must</emphasis> take place within an SQL transaction block,

As Christoph said, you're responsible for supplying a BEGIN and COMMIT
around the call.

            regards, tom lane



pgsql-general by date:

Previous
From: Raivo Rebane
Date:
Subject: Re: Binary large object processing problems
Next
From: Harrison Borges
Date:
Subject: Issues Scaling Postgres Concurrency