diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2002-08-18 09:36:26 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2002-08-18 09:36:26 +0000 |
commit | c828ec88205a232a9789f157d8cf9c3d82f85152 (patch) | |
tree | 86c73da00a74678b10e57b2f5b08817bfa466210 /doc/src | |
parent | 41298cf8a60ff815b98b9babb341c9c1629c1926 (diff) | |
download | postgresql-c828ec88205a232a9789f157d8cf9c3d82f85152.tar.gz postgresql-c828ec88205a232a9789f157d8cf9c3d82f85152.zip |
Make pg_dump output more portable and more pleasing to look at.
The -n and -N options were removed. Quoting is now smart enough to
supply quotes if and only if necessary.
Numerical types are now printed without quotes, except in cases of
special values such as NaN.
Boolean values printed as true and false.
Most string literals now do not escape whitespace characters (newlines,
etc.) for portability.
SET SESSION AUTHORIZATION argument is a string literal, to follow SQL.
Made commands output by pg_dump use consistent spacing and indentation.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_dump.sgml | 28 | ||||
-rw-r--r-- | doc/src/sgml/release.sgml | 3 |
2 files changed, 3 insertions, 28 deletions
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 2f5085a52d5..e96a443e0c3 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.47 2002/08/10 16:57:31 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.48 2002/08/18 09:36:25 petere Exp $ PostgreSQL documentation --> @@ -29,7 +29,6 @@ PostgreSQL documentation <arg>-f <replaceable>file</replaceable></arg> <arg>-F <replaceable>format</replaceable></arg> <arg>-i</arg> - <group> <arg>-n</arg> <arg>-N</arg> </group> <arg>-o</arg> <arg>-O</arg> <arg>-R</arg> @@ -303,31 +302,6 @@ PostgreSQL documentation </varlistentry> <varlistentry> - <term><option>-n</></term> - <term><option>--no-quotes</></term> - <listitem> - <para> - Suppress double quotes around identifiers unless absolutely necessary. - This may cause trouble loading this dumped data if there are reserved words - used for identifiers. - This was the default behavior for - <command>pg_dump</command> prior to version 6.4. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term><option>-N</></term> - <term><option>--quotes</></term> - <listitem> - <para> - Include double quotes around identifiers. - This is the default. - </para> - </listitem> - </varlistentry> - - <varlistentry> <term><option>-o</></term> <term><option>--oids</></term> <listitem> diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index 8e06e8af13f..9bfc6de17b0 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.146 2002/08/11 21:17:34 tgl Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.147 2002/08/18 09:36:25 petere Exp $ --> <appendix id="release"> @@ -24,6 +24,7 @@ CDATA means the content is "SGML-free", so you can write without worries about funny characters. --> <literallayout><![CDATA[ +pg_dump -n and -N options have been removed. The new behavior is like -n but knows about key words. CLUSTER is no longer hazardous to your schema COPY accepts a list of columns to copy ALTER TABLE DROP COLUMN |