postgresql/src
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
..
backend Improve ExecEvalVar's handling of whole-row variables in cases where the 2010-01-11 15:31:04 +00:00
bin Use -Z for vacuumdb --analyze-only, rather than -o. 2010-01-07 14:35:44 +00:00
include Some trivial adjustments in comments for struct RelationData. 2010-01-10 22:19:17 +00:00
interfaces Also update ChangerLog file. 2010-01-08 09:06:05 +00:00
makefiles Fix a few places where we needed -I. in CPPFLAGS to work properly in 2010-01-05 03:56:52 +00:00
pl Remove unnecessary use of temp file. Tim Bunce 2010-01-10 18:10:03 +00:00
port Create typedef pgsocket for storing socket descriptors. 2010-01-10 14:16:08 +00:00
template Tweak configure to attempt to add -qnoansialias to CFLAGS whenever running 2009-02-11 20:02:40 +00:00
test Support rewritten-based full vacuum as VACUUM FULL. Traditional 2010-01-06 05:31:14 +00:00
timezone Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
tools remove use of temp file for perlchunks.h, as in recent change to plperl GNUmakefile 2010-01-11 14:16:18 +00:00
tutorial Update copyright for the year 2010. 2010-01-02 16:58:17 +00: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 Update of install-sh, mkinstalldirs, and associated configury 2009-08-26 22:24:44 +00:00
Makefile.global.in Python 3 support in PL/Python 2009-12-15 22:59:55 +00:00
Makefile.shlib Derived files that are shipped in the distribution used to be built in the 2009-08-28 20:26:19 +00:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
nls-global.mk Update of install-sh, mkinstalldirs, and associated configury 2009-08-26 22:24:44 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00