Re: BUG #6222: Segmentation fault on unlogged table - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #6222: Segmentation fault on unlogged table
Date
Msg-id CA+TgmoaUXhMHjzMWi1YWQbSsdL3jgRbc0Q_xFU9J4txQHLENPA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #6222: Segmentation fault on unlogged table  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: BUG #6222: Segmentation fault on unlogged table  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
On Mon, Sep 26, 2011 at 12:17 PM, Merlin Moncure <mmoncure@gmail.com> wrote:
> hm. any relation to YAMAMOTO Takashi's recent email, [BUGS] bug in
> plancache.c, which hasn't hit the archives yet?
>
>> "GetCachedPlan can pass the 'qlist' to the planner twice.
> if i understand the code correctly, it's unsafe because the planner is
> destructive wrt the input tree. =A0for my application, it often causes
> a crash in executor."

I was just wondering about that.  It seems like it could very well be
the same issue, but I have not tested it yet.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: BUG #6222: Segmentation fault on unlogged table
Next
From: Tom Lane
Date:
Subject: Re: BUG #6218: TRAP: FailedAssertion( "!(owner->nsnapshots == 0)", File: "resowner.c", Line: 365)