Tom Lane escribió:
> 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.
Right :-( I'll see how to go about this.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.