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
|
| Список | 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 по дате отправления: