Re: Snapshot warning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Snapshot warning
Date
Msg-id 2405.1227542852@sss.pgh.pa.us
Whole thread Raw
In response to Re: Snapshot warning  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Snapshot warning  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Pavan Deolasee escribi�:
>> Should we call FreeQueryDesc() even for failed portals in PortalCleanup() ?
>> Or PortalDrop() is a better(right) place to do that ?

> That doesn't work; doing it causes a crash:

I think the fundamental bug here is that you tried to skip using the
ResourceOwner mechanism for snapshot references.  That's basically
not gonna work.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Visibility map, partial vacuums
Next
From: "Lawrence, Ramon"
Date:
Subject: Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets