]> granicus.if.org Git - postgresql/commit
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:17:47 +0000 (02:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Jun 2005 02:17:47 +0000 (02:17 +0000)
commitc3be085ab7a21e01f530357d962fa22f74a637ef
tree0aad28a65d7371c2b728ba1f47f19d3772b825a6
parentfc722403a64a09452919a3550a8d0da2df544d6a
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