Here is a new version of my patch for allowing pg_dump to DROP schema

Bruce Momjian <bruce@momjian.us>

Commit: 289a826dab09844cb7df41828d60ac7aef35125c
Author: Bruce Momjian <bruce@momjian.us>
Date: 1999-01-21T22:53:37Z
Releases: 7.1.1
Here is a new version of my patch for allowing pg_dump to DROP schema
elements prior to CREATEing new ones.  It is under control of the -c
command line option (with the default being status quo).

The DROP TRIGGER portion still needs implementation.  Anyone able to
help clarify what exactly the CREATE TRIGGER portion does so I can fix
this?

Again, I have tried this with tables/indexes/sequences, but do not
have other schema elements in my database.  As a result, I am not 100%
convinced that I got the syntax correct in all cases (but think I did,
nonetheless).  If anyone can check the other cases, I'd appreciate it.

Cheers,
Brook

[I added manual page and sgml additions for the new -c option.]

Files

PathChange+/−
doc/src/sgml/ref/pg_dump.sgml modified +12 −1
src/bin/pg_dump/pg_dump.c modified +81 −2
src/man/pg_dump.1 modified +7 −1