• Alvaro Herrera's avatar
    Fix pg_get_constraintdef to cope with NOT VALID constraints · 04841751
    Alvaro Herrera authored
    This case was missed when NOT VALID constraints were first introduced in
    commit 722bf701 by Simon Riggs on
    2011-02-08.  Among other things, it causes pg_dump to omit the NOT VALID
    flag when dumping such constraints, which may cause them to fail to
    load afterwards, if they contained values failing the constraint.
    
    Per report from Thom Brown.
    04841751
ruleutils.c 191 KB