]> git.ipfire.org Git - thirdparty/postgresql.git/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:32 +0000 (23:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Nov 2003 23:59:32 +0000 (23:59 +0000)
commitd6dd992b4c855f826455783a05891612459d47ff
treec4db67f865cd10f9be9ddbd10fa0bb46db72933c
parent1230343332ef814bac5312942360bbcdfff88e6d
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