Re: Snapshot warning - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Snapshot warning
Date
Msg-id 20081124172133.GF3861@alvh.no-ip.org
Whole thread Raw
In response to Re: Snapshot warning  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Snapshot warning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane escribió:
> 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.

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

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: blatantly a bug in the documentation
Next
From: Tom Lane
Date:
Subject: Re: Snapshot warning