diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-01-16 19:19:42 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-01-16 19:27:05 -0300 |
commit | 3b11247aadf857bbcbfc765191273973d9ca9dd7 (patch) | |
tree | 7ab29e4e964f397c088c8850555992d3ccae4f6f /src/backend/utils/adt/dbsize.c | |
parent | 1b9f774090d58a950ef0535b51bc377ab62b795c (diff) | |
download | postgresql-3b11247aadf857bbcbfc765191273973d9ca9dd7.tar.gz postgresql-3b11247aadf857bbcbfc765191273973d9ca9dd7.zip |
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
Diffstat (limited to 'src/backend/utils/adt/dbsize.c')
0 files changed, 0 insertions, 0 deletions