postgresql/src/test
Tom Lane 7e3bf99baa Fix handling of PlaceHolderVars in nestloop parameter management.
If we use a PlaceHolderVar from the outer relation in an inner indexscan,
we need to reference the PlaceHolderVar as such as the value to be passed
in from the outer relation.  The previous code effectively tried to
reconstruct the PHV from its component expression, which doesn't work since
(a) the Vars therein aren't necessarily bubbled up far enough, and (b) it
would be the wrong semantics anyway because of the possibility that the PHV
is supposed to have gone to null at some point before the current join.
Point (a) led to "variable not found in subplan target list" planner
errors, but point (b) would have led to silently wrong answers.
Per report from Roger Niederland.
2011-11-03 00:50:58 -04:00
..
examples Capitalization fixes 2011-06-19 00:37:30 +03:00
isolation Clean up whitespace and indentation in parser and scanner files 2011-11-01 21:51:30 +02:00
locale Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
mb Minor improvements to mbregress.sh script. 2011-09-01 09:21:10 -04:00
performance Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
regress Fix handling of PlaceHolderVars in nestloop parameter management. 2011-11-03 00:50:58 -04:00
thread Properly call strerror() in thread test; add comments. 2011-08-22 09:04:48 -04:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00