postgresql/src/test/regress
Tom Lane c75be2ad60 Change ON UPDATE SET NULL/SET DEFAULT referential actions to meet SQL spec.
Previously, when executing an ON UPDATE SET NULL or SET DEFAULT action for
a multicolumn MATCH SIMPLE foreign key constraint, we would set only those
referencing columns corresponding to referenced columns that were changed.
This is what the SQL92 standard said to do --- but more recent versions
of the standard say that all referencing columns should be set to null or
their default values, no matter exactly which referenced columns changed.
At least for SET DEFAULT, that is clearly saner behavior.  It's somewhat
debatable whether it's an improvement for SET NULL, but it appears that
other RDBMS systems read the spec this way.  So let's do it like that.

This is a release-notable behavioral change, although considering that
our documentation already implied it was done this way, the lack of
complaints suggests few people use such cases.
2012-06-18 12:12:52 -04:00
..
data Fix GIN to support null keys, empty and null items, and full index scans. 2011-01-07 19:16:24 -05:00
expected Change ON UPDATE SET NULL/SET DEFAULT referential actions to meet SQL spec. 2012-06-18 12:12:52 -04:00
input Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'yyy' 2012-05-22 11:23:36 -04:00
output Fix error message for COMMENT/SECURITY LABEL ON COLUMN xxx IS 'yyy' 2012-05-22 11:23:36 -04:00
sql Change ON UPDATE SET NULL/SET DEFAULT referential actions to meet SQL spec. 2012-06-18 12:12:52 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
GNUmakefile pg_regress: Use target-specific variable instead of overriding make rule 2012-02-07 22:42:19 +02:00
Makefile
parallel_schedule Fix regex back-references that are directly quantified with *. 2012-02-20 00:52:33 -05:00
pg_regress_main.c pg_regress: Replace exit_nicely() with exit() plus atexit() hook 2012-01-02 22:09:25 +02:00
pg_regress.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
pg_regress.h pg_regress: Replace exit_nicely() with exit() plus atexit() hook 2012-01-02 22:09:25 +02:00
regress.c Redesign the plancache mechanism for more flexibility and efficiency. 2011-09-16 00:43:52 -04:00
regressplans.sh
resultmap Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
serial_schedule Fix regex back-references that are directly quantified with *. 2012-02-20 00:52:33 -05:00
standby_schedule Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00