Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault - Mailing list pgsql-bugs

From Stefan Kaltenbrunner
Subject Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault
Date
Msg-id 4AEB2EFD.5020402@kaltenbrunner.cc
Whole thread Raw
In response to Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Responses Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault
List pgsql-bugs
Stefan Kaltenbrunner wrote:
> Tom Lane wrote:
>> Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
>>> this is 8.5a2 configured with ./configure --enable-cassert
>>> --enable-debug and  just default settings(ie plain initdb with
>>> default settings).
>>> The OS is Debian Lenny/AMD64.
>>
>> Huh.  That should not be noticeably different from my F11/Xeon64
>> machine ... but I still can't make it crash.  Somebody else is gonna
>> have to debug this one.
>
> hmm sorry - that was actually Lenny/i386 however I fail to reproduce
> this on some of my other test boxes as well though I don't have an idea
> why it crashes on my laptop(and for the original reporter) but not
> elsewhere :(

ok I now see why you (and I) failed to reproduce the problem - it only
causes clusters/databases to crash that were actually generated using
the upthread mentioned script. it does NOT fail using a dump generated
by a database that fails(!).
So the issue must be a bit more complex and somehow relate to some prior
stuff the script does.


Stefan

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #5152: Exporting databases with pg_dump changes 'bigserial' to 'bigint'
Next
From: Greg Stark
Date:
Subject: Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault