pgsql: Modify pg_dump to assume that a check constraint is inherited if - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Modify pg_dump to assume that a check constraint is inherited if
Date
Msg-id 20050627021747.D3A6552952@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Modify pg_dump to assume that a check constraint is inherited if its
name matches the name of any parent-table constraint, without looking
at the constraint text.  This is a not-very-bulletproof workaround for
the problem exhibited by Berend Tober last month.  We really ought to
record constraint inheritance status in pg_constraint, but it's looking
like that may not get done for 8.1 --- and even if it does, we will
need this kluge for dumping from older servers.

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        common.c (r1.85 -> r1.86)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/common.c.diff?r1=1.85&r2=1.86)

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Done: > * -Remove kerberos4 from source tree
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Modify pg_dump to assume that a check constraint is inherited if