mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Completed FOREIGN KEY syntax.
Added functionality for automatic trigger creation during CREATE TABLE. Added ON DELETE RESTRICT and some others. Jan
This commit is contained in:
@ -394,6 +394,8 @@ RelationRemoveTriggers(Relation rel)
|
||||
stmt.relname = pstrdup(RelationGetRelationName(refrel));
|
||||
stmt.trigname = nameout(&pg_trigger->tgname);
|
||||
|
||||
elog(NOTICE, "DROP TABLE implicitly drops referential integrity trigger from table \"%s\"", stmt.relname);
|
||||
|
||||
DropTrigger(&stmt);
|
||||
|
||||
pfree(stmt.relname);
|
||||
|
Reference in New Issue
Block a user