Re: Snapshot leak warning with lo_export in subtransaction

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Snapshot leak warning with lo_export in subtransaction
Дата
Msg-id 202109271233.5zn5bqxn657w@alvherre.pgsql
обсуждение исходный текст
Ответ на Snapshot leak warning with lo_export in subtransaction  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Snapshot leak warning with lo_export in subtransaction  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-bugs
On 2021-Sep-27, Heikki Linnakangas wrote:

> This should be backpatched to all supported versions. This adds an argument
> to 'inv_open' function, but I don't think there are extensions that use the
> inv_*() functions directly. inv_api.c relies on close_lo_relation() being
> called at the end of transaction, so I think an extension would find it hard
> to use those functions correctly, anyway.

Hmm, but you could also use a new value in its existing 'flags' argument
instead of changing ABI.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
Voy a acabar con todos los humanos / con los humanos yo acabaré
voy a acabar con todos (bis) / con todos los humanos acabaré ¡acabaré! (Bender)



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Snapshot leak warning with lo_export in subtransaction
Следующее
От: hpc researcher_mspk
Дата:
Сообщение: Re: BUG #17200: PostgreSQL-Support Profile Guide Optimization(Clang/GCC)?