git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1b9f774) | patch
Disallow merging ONLY constraints in children tables
2012年1月16日 22:19:42 +0000 (19:19 -0300)
2012年1月16日 22:27:05 +0000 (19:27 -0300)
commit 3b11247aadf857bbcbfc765191273973d9ca9dd7
Disallow merging ONLY constraints in children tables

When creating a child table, or when attaching an existing table as
child of another, we must not allow inheritable constraints to be
merged with non-inheritable ones, because then grandchildren would not
properly get the constraint. This would violate the grandparent's
expectations.

Bugs noted by Robert Haas.

Author: Nikhil Sontakke
doc/src/sgml/ref/alter_table.sgml diff | blob | blame | history
src/backend/catalog/heap.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /