postgresql/src
Tom Lane eb22950510 Fix PlaceHolderVar mechanism's interaction with outer joins.
The point of a PlaceHolderVar is to allow a non-strict expression to be
evaluated below an outer join, after which its value bubbles up like a Var
and can be forced to NULL when the outer join's semantics require that.
However, there was a serious design oversight in that, namely that we
didn't ensure that there was actually a correct place in the plan tree
to evaluate the placeholder :-(.  It may be necessary to delay evaluation
of an outer join to ensure that a placeholder that should be evaluated
below the join can be evaluated there.  Per recent bug report from Kirill
Simonov.

Back-patch to 8.4 where the PlaceHolderVar mechanism was introduced.
2010-09-28 14:19:00 -04:00
..
backend Fix PlaceHolderVar mechanism's interaction with outer joins. 2010-09-28 14:19:00 -04:00
bin Only DISCARD ALL should be in the command_no_begin list. 2010-09-28 15:55:25 +09:00
include Fix PlaceHolderVar mechanism's interaction with outer joins. 2010-09-28 14:19:00 -04:00
interfaces Still more .gitignore cleanup. 2010-09-24 13:48:15 -04:00
makefiles Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pl Fix inconsistent capitalization of "PL/pgSQL". 2010-09-22 21:57:37 -04:00
port Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Fix PlaceHolderVar mechanism's interaction with outer joins. 2010-09-28 14:19:00 -04:00
timezone Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
tools Fix MSVC builds for dummy_seclabel breakage. 2010-09-28 10:00:28 -04:00
tutorial Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Makefile.global.in Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Makefile.shlib Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
nls-global.mk Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
win32.mak Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00