pgsql: Fix unvalidated check constraints on domains, too - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix unvalidated check constraints on domains, too
Date
Msg-id E1RU3Bj-0002me-SH@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix unvalidated check constraints on domains, too

Same bug as reported by Thom Brown for check constraints on tables: the
constraint must be dumped separately from the domain, otherwise it is
restored before the data and thus prevents potentially-violating data
from being loaded in the first place.

Per Dean Rasheed

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f717f4bca298b0a1170ff506e02142e4859c3dae

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |   31 ++++++++++++++++++++++++-------
1 files changed, 24 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Modify pg_dump to use error-free memory allocation macros. This
Next
From: Bruce Momjian
Date:
Subject: pgsql: Remove ENABLE_SAME_CATVERSION_UPGRADES as unnecessary.