Thread: pgsql-server: When renaming a column that participates in a foreign key,

pgsql-server: When renaming a column that participates in a foreign key,

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql-server/src/backend/commands:
        tablecmds.c (r1.119 -> r1.120)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/tablecmds.c.diff?r1=1.119&r2=1.120)