Re: Path question

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Hans-Jürgen Schönig <hs@cybertec.at>
Cc: Greg Stark <gsstark@mit.edu>, Boszormenyi Zoltan <zb@cybertec.at>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-09-29T01:27:43Z
Lists: pgsql-hackers
2010/9/23 Robert Haas <robertmhaas@gmail.com>:
> All of this leaves me wondering why Greg ended up ifdefing out this
> code in the first place.  There's probably something I'm missing
> here...  but for now I can't think of a better idea than just removing
> the #ifdefs and hoping that whatever problem they were causing was
> limited to an earlier version of the code that no longer exists.

...and FAIL.  I missed the blindingly obvious here, which is that
without these tests commented out, while it passes regression tests,
the merge append stuff stops working.  I think for some reason without
this stuff in there the appropriate index paths fail to get generated
for the child rels.

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