• Alvaro Herrera's avatar
    Disallow merging ONLY constraints in children tables · 3b11247a
    Alvaro Herrera authored
    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
    3b11247a
tablecmds.c 298 KB