]> granicus.if.org Git - postgresql/commit
Remove 'restrictinfojoinid' field from RestrictInfo nodes.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Jul 1999 17:53:27 +0000 (17:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Jul 1999 17:53:27 +0000 (17:53 +0000)
commit8ae29a1d40749a69b760aeab1f67a1265c234b8e
treec16cb90746a7d46169d660850cec185b7b1f9427
parentac4913a0dd433ac1c2207014f886338f2ccd5fef
Remove 'restrictinfojoinid' field from RestrictInfo nodes.
The only place it was being used was as temporary storage in indxpath.c,
and the logic was wrong: the same restrictinfo node could get chosen to
carry the info for two different joins.  Right fix is to return a second
list of unjoined-relids parallel to the list of clause groups.
src/backend/nodes/copyfuncs.c
src/backend/nodes/freefuncs.c
src/backend/optimizer/path/indxpath.c
src/include/nodes/relation.h