Re: planner crash/assert hit in 8.4B1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bernd Helmle <mailings(at)oopsware(dot)de>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: planner crash/assert hit in 8.4B1
Date: 2009-04-19 15:26:18
Message-ID: 13604.1240154778@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bernd Helmle <mailings(at)oopsware(dot)de> writes:
> --On Sonntag, April 19, 2009 15:29:01 +0200 Stefan Kaltenbrunner
> <stefan(at)kaltenbrunner(dot)cc> wrote:
>> Program received signal SIGSEGV, Segmentation fault.

> Please note that it doesn't raise the Assert, it crashes because rel is
> NULL, hence the assertion expression crashes with a SIGSEGV. There seems to
> be something wrong with the RelOptInfo in estimate_num_groups().

It looks like I neglected to test this code while writing the
PlaceHolderVar patch --- it needs to handle those specially, and fails
to do so :-(. Thanks for the report!

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-04-19 15:48:01 Re: Unicode support
Previous Message Brendan Jurd 2009-04-19 15:25:00 Re: to_timestamp() changes in 8.4 release notes