Alvaro Herrera <alvherre(at)commandprompt(dot)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