postgresql/src/backend
Tom Lane 01b4bb44fe 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:08:47 -04:00
..
access Fix bug in comment of timeline history file. 2010-10-14 19:13:09 +01:00
bootstrap Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
catalog Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
commands Throw an appropriate error if ALTER COLUMN TYPE finds a dependent trigger. 2010-10-02 18:22:08 -04:00
executor Fix ExecMakeTableFunctionResult to verify that all rows returned by a SRF 2010-08-26 18:54:44 +00:00
foreign Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
lib pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
libpq Fix low-risk potential denial of service against RADIUS login. 2010-10-15 16:59:12 +02:00
main Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
nodes Fix incorrect generation of whole-row variables in planner. 2010-10-19 15:08:47 -04:00
optimizer Fix incorrect generation of whole-row variables in planner. 2010-10-19 15:08:47 -04:00
parser Fix incorrect generation of whole-row variables in planner. 2010-10-19 15:08:47 -04:00
po Translation updates for 9.0.1 2010-09-30 23:46:16 +03:00
port Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
postmaster Treat exit code 128 (ERROR_WAIT_NO_CHILDREN) as non-fatal on Win32, 2010-09-16 20:37:18 +00:00
regex pgindent run for 9.0 2010-02-26 02:01:40 +00:00
replication pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
rewrite pgindent run for 9.0 2010-02-26 02:01:40 +00:00
snowball Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
storage Cosmetic fixes for KnownAssignedXidsGetOldestXmin, per Fujii Masao. 2010-08-30 17:30:49 +00:00
tcop Fix failure of "ALTER TABLE t ADD COLUMN c serial" when done by non-owner. 2010-08-18 18:35:30 +00:00
tsearch Tweak tsmatchsel() so that it examines the structure of the tsquery whenever 2010-07-31 03:27:48 +00:00
utils Add "(change requires restart)" note to some postgresql.conf parameters. 2010-09-27 09:45:02 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
common.mk Expand test coverage support to entire tree 2009-08-07 20:50:22 +00:00
Makefile Split the LDFLAGS make variable into two parts: LDFLAGS is now used for 2010-07-05 18:54:38 +00:00
nls.mk Convert the core lexer and parser into fully reentrant code, by making use 2009-07-13 02:02:20 +00:00