Re: pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-04 Thread Andrew Dunstan
On 11/3/21 13:47, Heikki Linnakangas wrote: > On 03/11/2021 13:06, Daniel Gustafsson wrote: >>> On 3 Nov 2021, at 10:44, Heikki Linnakangas >>> wrote: >> >>> Fix snapshot reference leak if lo_export fails. >> >> This commit seems to lack the update in largeobject_1 as per hamerkop >> in: > > Fix

Re: pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Daniel Gustafsson
> On 3 Nov 2021, at 18:47, Heikki Linnakangas wrote: > > On 03/11/2021 13:06, Daniel Gustafsson wrote: >>> On 3 Nov 2021, at 10:44, Heikki Linnakangas >>> wrote: >>> Fix snapshot reference leak if lo_export fails. >> This commit seems to lack the update in largeobject_1 as per hamerkop in: > >

Re: pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Heikki Linnakangas
On 03/11/2021 13:06, Daniel Gustafsson wrote: On 3 Nov 2021, at 10:44, Heikki Linnakangas wrote: Fix snapshot reference leak if lo_export fails. This commit seems to lack the update in largeobject_1 as per hamerkop in: Fixed, thanks! I'm a bit surprised none of the other Windows systems

Re: pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Daniel Gustafsson
> On 3 Nov 2021, at 10:44, Heikki Linnakangas wrote: > Fix snapshot reference leak if lo_export fails. This commit seems to lack the update in largeobject_1 as per hamerkop in: https://brekka.postgresql.org/cgi-bin/show_log.pl?nm=hamerkop&dt=2021-11-03%2010%3A42%3A37 -- Daniel Gustafsson

pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Heikki Linnakangas
Fix snapshot reference leak if lo_export fails. If lo_export() fails to open the target file or to write to it, it leaks the created LargeObjectDesc and its snapshot in the top-transaction context and resource owner. That's pretty harmless, it's a small leak after all, but it gives the user a "Sna

pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Heikki Linnakangas
Fix snapshot reference leak if lo_export fails. If lo_export() fails to open the target file or to write to it, it leaks the created LargeObjectDesc and its snapshot in the top-transaction context and resource owner. That's pretty harmless, it's a small leak after all, but it gives the user a "Sna

pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Heikki Linnakangas
Fix snapshot reference leak if lo_export fails. If lo_export() fails to open the target file or to write to it, it leaks the created LargeObjectDesc and its snapshot in the top-transaction context and resource owner. That's pretty harmless, it's a small leak after all, but it gives the user a "Sna

pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Heikki Linnakangas
Fix snapshot reference leak if lo_export fails. If lo_export() fails to open the target file or to write to it, it leaks the created LargeObjectDesc and its snapshot in the top-transaction context and resource owner. That's pretty harmless, it's a small leak after all, but it gives the user a "Sna

pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Heikki Linnakangas
Fix snapshot reference leak if lo_export fails. If lo_export() fails to open the target file or to write to it, it leaks the created LargeObjectDesc and its snapshot in the top-transaction context and resource owner. That's pretty harmless, it's a small leak after all, but it gives the user a "Sna

pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Heikki Linnakangas
Fix snapshot reference leak if lo_export fails. If lo_export() fails to open the target file or to write to it, it leaks the created LargeObjectDesc and its snapshot in the top-transaction context and resource owner. That's pretty harmless, it's a small leak after all, but it gives the user a "Sna

pgsql: Fix snapshot reference leak if lo_export fails.

2021-11-03 Thread Heikki Linnakangas
Fix snapshot reference leak if lo_export fails. If lo_export() fails to open the target file or to write to it, it leaks the created LargeObjectDesc and its snapshot in the top-transaction context and resource owner. That's pretty harmless, it's a small leak after all, but it gives the user a "Sna