Re: Snapshot warning

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Snapshot warning
Date: 2008-11-24 17:21:33
Message-ID: 20081124172133.GF3861@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-24 18:27:25 Re: Snapshot warning
Previous Message Sam Mason 2008-11-24 17:08:46 Re: literal limits in 8.3