postgresql/src
Tom Lane 6e74a91b2b Fix incorrect generation of whole-row variables in planner.
A couple of places in the planner need to generate whole-row Vars, and were
cutting corners by setting vartype = RECORDOID in the Vars, even in cases
where there's an identifiable named composite type for the RTE being
referenced.  While we mostly got away with this, it failed when there was
also a parser-generated whole-row reference to the same RTE, because the
two Vars weren't equal() due to the difference in vartype.  Fix by
providing a subroutine the planner can call to generate whole-row Vars
the same way the parser does.

Per bug #5716 from Andrew Tipton.  Back-patch to 9.0 where one of the bogus
calls was introduced (the other one is new in HEAD).
2010-10-19 15:09:23 -04:00
..
backend Fix incorrect generation of whole-row variables in planner. 2010-10-19 15:09:23 -04:00
bin Allow pg_ctl to register the service in either AUTO or DEMAND start type 2010-10-15 14:30:03 -03:00
include Fix incorrect generation of whole-row variables in planner. 2010-10-19 15:09:23 -04:00
interfaces Applied patch by Itagaki Takahiro to fix incorrect status calculation in 2010-10-14 17:55:07 +02:00
makefiles Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pl Fix plpython so that it again honors typmod while assigning to tuple fields. 2010-10-11 22:16:40 -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 incorrect generation of whole-row variables in planner. 2010-10-19 15:09:23 -04:00
timezone Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
tools Fix msvc build for localized versions of Visual C++ 2010-10-17 16:36:54 +02: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 Fix makefile logic to not break the build when xgettext is missing 2010-10-14 23:16:46 +03:00
win32.mak Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00