diff options
| author | Bruce Momjian <bruce@momjian.us> | 1999-01-21 22:53:37 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1999-01-21 22:53:37 +0000 |
| commit | 289a826dab09844cb7df41828d60ac7aef35125c (patch) | |
| tree | af02974f69845ac744b00873438af634d3aaf445 /doc/src | |
| parent | c91dbcc5c7b64aecfc0a246d0f8f2d60145e6326 (diff) | |
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.]
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/ref/pg_dump.sgml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 1f55f58754e..8fe0bf47897 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -22,7 +22,7 @@ pg_dump [ <replaceable class="parameter">dbname</replaceable> ] pg_dump [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replaceable class="parameter">port</replaceable> ] [ -t <replaceable class="parameter">table</replaceable> ] [ -f <replaceable class="parameter">outputfile</replaceable> ] - [ -a ] [ -d ] [ -D ] [ -n ] [ -N ] [ -o ] [ -s ] [ -u ] [ -v ] [ -z ] + [ -a ] [ -c ] [ -d ] [ -D ] [ -n ] [ -N ] [ -o ] [ -s ] [ -u ] [ -v ] [ -z ] [ <replaceable class="parameter">dbname</replaceable> ] </SYNOPSIS> @@ -65,6 +65,17 @@ pg_dump [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replaceab <varlistentry> <term> + -c + </term> + <listitem> + <para> + Clean(drop) schema prior to create. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term> -d </term> <listitem> |
