Re: Binary large object processing problems

Поиск
Список
Период
Сортировка
От Raivo Rebane
Тема Re: Binary large object processing problems
Дата
Msg-id CAMH5fpsHY8pAzuY+gZ4JcO=fTvQAnDkHE2A3ZDv=NR_4gbkVNA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Binary large object processing problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Ok, I will do that. ANd it works now in both way

Regards
Raivo

On Mon, Mar 13, 2023 at 6:18 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
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 по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Properly handle OOM death?
Следующее
От: Israel Brewster
Дата:
Сообщение: Re: Properly handle OOM death?