Thread: pgsql: Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key

pgsql: Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key
trigger definitions into regular foreign key constraints.  This seems
necessary given that some people evidently never did get around to
running adddepend on their schemas, and without some sort of hack the
old definitions will no longer work.  Per report from Olivier Prenant
and subsequent investigation.

Modified Files:
--------------
    pgsql/src/backend/commands:
        trigger.c (r1.219 -> r1.220)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/trigger.c?r1=1.219&r2=1.220)