Skip site navigation (1) Skip section navigation (2)

pgsql: Modify pg_dump to assume that a check constraint is inherited if

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Modify pg_dump to assume that a check constraint is inherited if
Date: 2005-06-27 02:18:15
Message-ID: 20050627021815.0A8405294F@svr1.postgresql.org (view raw or flat)
Thread:
Lists: 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.

Tags:
----
REL8_0_STABLE

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

pgsql-committers by date

Next:From: User ApplejackDate: 2005-06-27 05:53:25
Subject: uri - uri: Changed to not install in pg_catalog.
Previous:From: Tom LaneDate: 2005-06-27 02:17:47
Subject: pgsql: Modify pg_dump to assume that a check constraint is inherited if

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group