OSDN Git Service

Teach CREATE CONSTRAINT TRIGGER to convert old-style foreign key
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Nov 2007 01:16:19 +0000 (01:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Nov 2007 01:16:19 +0000 (01:16 +0000)
commita2899ebdc28080eab0f4bb0b8a5f30aa7bb31a89
tree2a0046daeac84938eab552ab837fd8e52d82f99a
parent97ddfc960738e6b178b4d16d4ec4553eed078827
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.
src/backend/commands/trigger.c