Modify pg_dump to assume that a check constraint is inherited if its
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Jun 2005 02:18:14 +0000 (02:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Jun 2005 02:18:14 +0000 (02:18 +0000)
commit3b2922feb61be0e80cbd1fbc1eab2925d36f7604
tree0e6c920e1b5021d661ec79f958e0210234141b5d
parent7352a30e88361e2b3b83f7bc8032ab8cc27f066b
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.
src/bin/pg_dump/common.c