]> granicus.if.org Git - postgresql/commit
This should be a slighly more complete patch for commands/command.c
authorBruce Momjian <bruce@momjian.us>
Sat, 15 Jul 2000 12:37:14 +0000 (12:37 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 15 Jul 2000 12:37:14 +0000 (12:37 +0000)
commit739a0566a639bc0e052447f09fafdb8f5bb37d9b
treeb96451c23fab34113a0648d6a4493b488a7134d6
parentf2e3f621c5b95bcae2074e2090c9baa9e84125be
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
src/backend/commands/command.c