Re: Snapshot warning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Snapshot warning
Date
Msg-id 4034.1227551245@sss.pgh.pa.us
Whole thread Raw
In response to Re: Snapshot warning  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Snapshot warning
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane escribió:
>> 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.

> Right :-(  I'll see how to go about this.

It strikes me that you might be able to remove the registered-snapshot
infrastructure in snapmgr.c, and end up with about the same amount of
code overall, just with the responsibility in resowner.c.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Snapshot warning
Next
From: Tom Lane
Date:
Subject: Re: Visibility map, partial vacuums