This should be a slighly more complete patch for commands/command.c

Bruce Momjian <bruce@momjian.us>

Commit: 739a0566a639bc0e052447f09fafdb8f5bb37d9b
Author: Bruce Momjian <bruce@momjian.us>
Date: 2000-07-15T12:37:14Z
Releases: 7.1.1
This should be a slighly more complete patch for commands/command.c
AlterTableAddConstraint.  The major changes from the last patch
are that it should hopefully check for references to temp tables
(not in the shadow case, but at defination time) from permanent tables in
foreign keys and refuse them and that it doesn't allow the table(s)
being constrained to be views (because those cases don't currently
work).

Stephan SzaboThis should be a slighly more complete patch for commands/command.c
AlterTableAddConstraint.  The major changes from the last patch
are that it should hopefully check for references to temp tables
(not in the shadow case, but at defination time) from permanent tables in
foreign keys and refuse them and that it doesn't allow the table(s)
being constrained to be views (because those cases don't currently
work).

Stephan Szabo

Files

PathChange+/−
src/backend/commands/command.c modified +188 −4