Re: Snapshot leak warning with lo_export in subtransaction

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>, Andrew B <pgsql(dot)20(dot)drkshadow(at)spamgourmet(dot)com>
Subject: Re: Snapshot leak warning with lo_export in subtransaction
Date: 2021-11-03 10:39:18
Message-ID: ad00c24f-d8fc-0db1-87b7-0434b0b64712@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 18/10/2021 17:40, Alvaro Herrera wrote:
> On 2021-Oct-18, Heikki Linnakangas wrote:
>> Thinking about this some more, I came up with the attached. It moves the
>> responsibility of registering the snapshot from inv_api.c to the caller.
>
> I like this patch much better.

Pushed! Thanks for the review, and thanks for the report, Andrew.

- Heikki

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-11-03 11:11:24 BUG #17269: Why is virtual memory usage of PostgreSQL growing constantly?
Previous Message Semab Tariq 2021-11-03 10:38:41 Re: BUG #17265: Not able to download