pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Moench-Tegeder <cmt@burggraben.net>
To: Raivo Rebane <raivore55@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Binary large object processing problems
Date: Mon, 13 Mar 2023 16:26:40 +0100
Message-ID: <ZA9AsKqz32AABN+B@squirrel.exwg.net> (raw)
In-Reply-To: <CAMH5fpuFqT85EfafcLgsctJa3fourWEQbcNmh0d+Ew0C+gEXZg@mail.gmail.com>
References: <CAMH5fpuFqT85EfafcLgsctJa3fourWEQbcNmh0d+Ew0C+gEXZg@mail.gmail.com>

## Raivo Rebane (raivore55@gmail.com):

> Can anybody help me find where is my mistake an what is working solution ?

The documentation clearly states "All large object manipulation using
these functions must take place within an SQL transaction block"
https://www.postgresql.org/docs/current/lo-interfaces.html
but I couldn't see anything of thank kind in your code.

Regards,
Christoph

-- 
Spare Space.





view thread (5+ messages)  latest in thread

Message-ID: <ZA9AsKqz32AABN+B@squirrel.exwg.net>
Permalink:  ../ZA9AsKqz32AABN+B@squirrel.exwg.net/
Also on:    postgresql.org/message-id/ZA9AsKqz32AABN+B@squirrel.exwg.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: cmt@burggraben.net, raivore55@gmail.com
  Subject: Re: Binary large object processing problems
  In-Reply-To: <ZA9AsKqz32AABN+B@squirrel.exwg.net>
  References: <CAMH5fpuFqT85EfafcLgsctJa3fourWEQbcNmh0d+Ew0C+gEXZg@mail.gmail.com> <ZA9AsKqz32AABN+B@squirrel.exwg.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