]> granicus.if.org Git - postgresql/commit
I've hacked up pg_dump so that it generates CONSTRAINT and CHECK
authorBruce Momjian <bruce@momjian.us>
Tue, 16 Jun 1998 06:52:15 +0000 (06:52 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 16 Jun 1998 06:52:15 +0000 (06:52 +0000)
commit32eef5ad1e7f9878f090785d1c98405d986dfc02
treedba66921e818f9593085ca40ba2cdaf5139925bc
parent8d8bcda2531bbae665c2cbe57dade4271b0eb087
I've hacked up pg_dump so that it generates CONSTRAINT and CHECK
syntax that can be read back in with psql.  I did this by adding
a
 "-c" switch that controls moving the CONTSTRAINT statements inside
the CREATE TABLE statements and adding () around the CHECK arguments.
Here's diffs against the 6.3.2 version of pg_dump.c.

ccb
src/bin/pg_dump/pg_dump.c