]> 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:18:14 +0000 (02:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Jun 2005 02:18:14 +0000 (02:18 +0000)
commitddfbdd46d8c2fb50f245e25ad7fdf4c5ac493fd5
tree019eb582db58d686e14b91b04e1b90543db562d0
parent894889ecc43a1503c48f88f9da21cc53b5b29f3f
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