]> granicus.if.org Git - postgresql/commit
When renaming a column that participates in a foreign key, we must
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 Jul 2004 17:28:47 +0000 (17:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 Jul 2004 17:28:47 +0000 (17:28 +0000)
commit3998d0fdca75dda6bdb0e7bf482746c3f131724d
tree9f7d38298f621ce893433c4046edc45cdb166680
parent7b2c575d4e73e456116419e7069d1512536a736a
When renaming a column that participates in a foreign key, we must
force relcache rebuild for the other table as well as the column's
own table.  Otherwise, already-cached foreign key triggers will stop
working.  Per example from Alexander Pravking.
src/backend/commands/tablecmds.c