postgresql/src
Tom Lane 30fd8ec799 Install checks in executor startup to ensure that the tuples produced by an
INSERT or UPDATE will match the target table's current rowtype.  In pre-8.3
releases inconsistency can arise with stale cached plans, as reported by
Merlin Moncure.  (We patched the equivalent hazard on the SELECT side in Feb
2007; I'm not sure why we thought there was no risk on the insertion side.)
In 8.3 and HEAD this problem should be impossible due to plan cache
invalidation management, but it seems prudent to make the check anyway.

Back-patch as far as 8.0.  7.x versions lack ALTER COLUMN TYPE, so there
seems no way to abuse a stale plan comparably.
2008-08-08 17:01:11 +00:00
..
backend Install checks in executor startup to ensure that the tuples produced by an 2008-08-08 17:01:11 +00:00
bin Move pgstat.tmp into a temporary directory under $PGDATA named pg_stat_tmp. 2008-08-05 12:09:30 +00:00
include Improve INTERSECT/EXCEPT hashing by realizing that we don't need to make any 2008-08-07 19:35:02 +00:00
interfaces Add MSVC++ debug libraries to .cvsignore. 2008-07-17 21:16:23 +00:00
makefiles Implement a few changes to how shared libraries and dynamically loadable 2008-04-07 14:15:58 +00:00
pl Implement SQL-spec RETURNS TABLE syntax for functions. 2008-07-18 03:32:53 +00:00
port Use CRITICAL_SECTION instead of Mutexes for thread-locking in libpq on 2008-05-21 14:20:48 +00:00
template Use SYSV semaphores rather than POSIX on Darwin >= 6.0 (i.e., OS X 10.2 2007-09-26 00:32:46 +00:00
test Support hashing for duplicate-elimination in INTERSECT and EXCEPT queries. 2008-08-07 03:04:04 +00:00
timezone Fix identify_system_timezone() so that it tests the behavior of the system 2008-07-01 03:40:55 +00:00
tools Avoid substituting NAMEDATALEN, FLOAT4PASSBYVAL, and FLOAT8PASSBYVAL into 2008-07-19 04:01:29 +00:00
tutorial Add $PostgreSQL$ markers to a lot of files that were missing them. 2008-05-17 01:28:26 +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
DEVELOPERS Testing commit stuff 2006-07-10 15:50:02 +00:00
Makefile Catch all errors in for and while loops in makefiles. Don't ignore any 2008-03-18 16:24:50 +00:00
Makefile.global.in Upgrade to Autoconf 2.61: 2008-02-17 16:36:43 +00:00
Makefile.shlib On cygwin and win32, don't override the shlib name when building a module. 2008-04-08 09:50:29 +00:00
nls-global.mk Another fix for compiles on an empty 'po' directory. 2008-05-17 21:27:12 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00