Bernd Helmle <mailings@oopsware.de> writes:
> --On Sonntag, April 19, 2009 15:29:01 +0200 Stefan Kaltenbrunner
> <stefan@kaltenbrunner.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