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