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)
commitc5723ba5429e377b610136b3558a35e4cf1a78c7
tree5944dbf40cdd4e56779c8d2ab110ffa74147e054
parent21c9586b066494530e7071df8b5d6ccb10d0a508
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