postgresql/src/backend
Tom Lane 292176a118 Improve ExecEvalVar's handling of whole-row variables in cases where the
rowtype contains dropped columns.  Sometimes the input tuple will be formed
from a select targetlist in which dropped columns are filled with a NULL
of an arbitrary type (the planner typically uses INT4, since it can't tell
what type the dropped column really was).  So we need to relax the rowtype
compatibility check to not insist on physical compatibility if the actual
column value is NULL.

In principle we might need to do this for functions returning composite
types, too (see tupledesc_match()).  In practice there doesn't seem to be
a bug there, probably because the function will be using the same cached
rowtype descriptor as the caller.  Fixing that code path would require
significant rearrangement, so I left it alone for now.

Per complaint from Filip Rembialkowski.
2010-01-11 15:31:04 +00:00
..
access Remove partial, broken support for NULL pointers when fetching attributes. 2010-01-10 04:26:36 +00:00
bootstrap Fix a few places where we needed -I. in CPPFLAGS to work properly in 2010-01-05 03:56:52 +00:00
catalog Improve a couple of comments relating to large object snapshot management. 2010-01-07 02:41:16 +00:00
commands During Hot Standby, fix drop database when sessions idle. 2010-01-10 15:44:28 +00:00
executor Improve ExecEvalVar's handling of whole-row variables in cases where the 2010-01-11 15:31:04 +00:00
foreign Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lib Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
libpq Create typedef pgsocket for storing socket descriptors. 2010-01-10 14:16:08 +00:00
main Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
nodes Support ALTER TABLESPACE name SET/RESET ( tablespace_options ). 2010-01-05 21:54:00 +00:00
optimizer Add support for doing FULL JOIN ON FALSE. While this is really a rather 2010-01-05 23:25:36 +00:00
parser Support rewritten-based full vacuum as VACUUM FULL. Traditional 2010-01-06 05:31:14 +00:00
po Translation updates 2009-12-19 20:23:26 +00:00
port Silence compiler warning about printf format for HANDLE. 2010-01-04 01:06:21 +00:00
postmaster Create typedef pgsocket for storing socket descriptors. 2010-01-10 14:16:08 +00:00
regex Teach the regular expression functions to do case-insensitive matching and 2009-12-01 21:00:24 +00:00
rewrite Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
snowball Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
storage During Hot Standby, fix drop database when sessions idle. 2010-01-10 15:44:28 +00:00
tcop Fix (some of the) breakage introduced into query-cancel processing by HS. 2010-01-07 16:29:58 +00:00
tsearch When estimating the selectivity of an inequality "column > constant" or 2010-01-04 02:44:40 +00:00
utils During Hot Standby, set DatabasePath correctly during relcache init file 2010-01-09 16:49:27 +00:00
Makefile Fix parallel-make timing problem. 2010-01-05 01:20:35 +00:00
common.mk Expand test coverage support to entire tree 2009-08-07 20:50:22 +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