]> granicus.if.org Git - postgresql/commit
Repair subselect.c's occasional assignment of the wrong vartypmod to
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Nov 2003 23:59:12 +0000 (23:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Nov 2003 23:59:12 +0000 (23:59 +0000)
commite7a45c787e2c2d40e04059409f72d8ccaaea6f6a
tree3acd0d411cf1136375d56cf466b20693c209d3e2
parenta64846f3ada1a4ecc6ca8123777217b3c7781160
Repair subselect.c's occasional assignment of the wrong vartypmod to
Vars created to fill subplan args lists.  This is an ancient error, going
back at least to 7.0, but is more easily triggered in 7.4 than before
because we no longer compare varlevelsup when deciding whether a Param
slot can be re-used.  Fixes bug reported by Klint Gore.
src/backend/optimizer/plan/subselect.c