aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-05-03 11:30:24 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-05-03 11:30:24 -0400
commit79edb298128b00161944b0e2cb6ef2460b717a7a (patch)
tree6491317fedcd9d310bd9926be5cc40d880e8620b /src/backend/utils/adt/jsonfuncs.c
parent70fac48446b3966050b73f6461e1404549672a8f (diff)
downloadpostgresql-79edb298128b00161944b0e2cb6ef2460b717a7a.tar.gz
postgresql-79edb298128b00161944b0e2cb6ef2460b717a7a.zip
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 f177cbfe676dc2c7ca2b206c54d6bf819feeea8b. Back-patch to 9.4 where the faulty code was added.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions