postgresql/src/test/regress
Tom Lane a4820434c1 Fix overlooked relcache invalidation in ALTER TABLE ... ALTER CONSTRAINT.
When altering the deferredness state of a foreign key constraint, we
correctly updated the catalogs and then invalidated the relcache state for
the target relation ... but that's not the only relation with relevant
triggers.  Must invalidate the other table as well, or the state change
fails to take effect promptly for operations triggered on the other table.
Per bug #13224 from Christian Ullrich.

In passing, reorganize regression test case for this feature so that it
isn't randomly injected into the middle of an unrelated test sequence.

Oversight in commit f177cbfe67.  Back-patch
to 9.4 where the faulty code was added.
2015-05-03 11:30:24 -04:00
..
data Improve key representation for GIN jsonb_ops, and fix existence-search bug. 2014-05-09 08:41:26 -04:00
expected Fix overlooked relcache invalidation in ALTER TABLE ... ALTER CONSTRAINT. 2015-05-03 11:30:24 -04:00
input Apply table and domain CHECK constraints in name order. 2015-03-23 16:59:35 -04:00
output Apply table and domain CHECK constraints in name order. 2015-03-23 16:59:35 -04:00
sql Fix overlooked relcache invalidation in ALTER TABLE ... ALTER CONSTRAINT. 2015-05-03 11:30:24 -04:00
.gitignore Update .gitignore for config.cache. 2014-12-18 19:56:42 +09:00
GNUmakefile Improve speed of make check-world 2015-04-23 08:59:52 -04:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
README Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
parallel_schedule Allow CURRENT/SESSION_USER to be used in certain commands 2015-03-09 15:41:54 -03:00
pg_regress.c Improve speed of make check-world 2015-04-23 08:59:52 -04:00
pg_regress.h Improve speed of make check-world 2015-04-23 08:59:52 -04:00
pg_regress_main.c Improve speed of make check-world 2015-04-23 08:59:52 -04:00
regress.c Add CHECK_FOR_INTERRUPTS() to the wait_pid() loop. 2015-03-07 00:47:38 -05:00
regressplans.sh Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
resultmap Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
serial_schedule Allow CURRENT/SESSION_USER to be used in certain commands 2015-03-09 15:41:54 -03:00
standby_schedule Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00

README

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".