diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-11 18:13:44 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-11 18:13:44 +0000 |
commit | 213647b15870dc33a217b336dfe74ddf44972edd (patch) | |
tree | 487754fbba5ebe81ab6b4b0ff715861077746ade /src/backend/access/gist/gist.c | |
parent | 47925b83cb1451ceb4fa37e70ee46eef064bd412 (diff) | |
download | postgresql-213647b15870dc33a217b336dfe74ddf44972edd.tar.gz postgresql-213647b15870dc33a217b336dfe74ddf44972edd.zip |
Get rid of adjust_appendrel_attr_needed(), which has been broken ever since
we extended the appendrel mechanism to support UNION ALL optimization. The
reason nobody noticed was that we are not actually using attr_needed data for
appendrel children; hence it seems more reasonable to rip it out than fix it.
Back-patch to 8.2 because an Assert failure is possible in corner cases.
Per examination of an example from Jim Nasby.
In HEAD, also get rid of AppendRelInfo.col_mappings, which is quite inadequate
to represent UNION ALL situations; depend entirely on translated_vars instead.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions