BUG #4070: Join more then ~15 tables let postgreSQL produces wrong data - Mailing list pgsql-bugs

From Marcello Ceschia
Subject BUG #4070: Join more then ~15 tables let postgreSQL produces wrong data
Date
Msg-id 200803311226.m2VCQskW015483@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4070: Join more then ~15 tables let postgreSQL produces wrong data  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4070
Logged by:          Marcello Ceschia
Email address:      Marcello.Ceschia@medizin.uni-leipzig.de
PostgreSQL version: 8.2.5 and 8.3.0
Operating system:   Windows XP
Description:        Join more then ~15 tables let postgreSQL produces wrong
data
Details:

We have an situation where we must join ~30 tables to get a general table.
Don't  ask why we do this this way.

After an unknown number of columns the joind values are not correct. We get
only the value from column 1.
If I separete the query and generate an temporary table with the first 20
tables and join them later with the rest one, all works fine.
All values in the result table are correct.

If you need more information, contact me I can send some example data.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Recommended approach for upgrading DBs with nonmatching encodings
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #4070: Join more then ~15 tables let postgreSQL produces wrong data