From: Tom Lane <tgl@sss.pgh.pa.us>
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
Cc: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5906: assertion failure in AtCleanup_Portals
Date: Thu, 03 Mar 2011 13:05:31 -0500
Message-ID: <12452.1299175531@sss.pgh.pa.us> (raw)
In-Reply-To: <9890.1299171337@sss.pgh.pa.us>
References: <16798.1299078556@sss.pgh.pa.us>
<20110303001403.11CB319CEB6@mail.netbsd.org>
<AANLkTi=PisvmjhrE2oxJQN1G+g8Sg9fSe_Gg==HHpbES@mail.gmail.com>
<9890.1299171337@sss.pgh.pa.us>
I wrote:
> We could revert the addition of the "cleanup == NULL" assert in
> AtCleanup_Portals, but I'm still feeling that that assertion is a good
> thing. Maybe the cleanest fix is to have PortalRun do something to run
> the cleanup hook where it does this:
> /* Prevent portal's commands from being re-executed */
> portal->status = PORTAL_DONE;
Fixed that way. Thanks for the report!
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, yamt@mwd.biglobe.ne.jp, itagaki.takahiro@gmail.com
Subject: Re: BUG #5906: assertion failure in AtCleanup_Portals
In-Reply-To: <12452.1299175531@sss.pgh.pa.us>
References: <16798.1299078556@sss.pgh.pa.us> <20110303001403.11CB319CEB6@mail.netbsd.org> <AANLkTi=PisvmjhrE2oxJQN1G+g8Sg9fSe_Gg==HHpbES@mail.gmail.com> <9890.1299171337@sss.pgh.pa.us> <12452.1299175531@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox