Re: BUG #6222: Segmentation fault on unlogged table

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: BUG #6222: Segmentation fault on unlogged table
Date: 2011-09-26 16:20:22
Message-ID: CA+TgmoaUXhMHjzMWi1YWQbSsdL3jgRbc0Q_xFU9J4txQHLENPA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Sep 26, 2011 at 12:17 PM, Merlin Moncure <mmoncure(at)gmail(dot)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.  for 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.

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

In response to

Responses

Browse pgsql-bugs by date

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