diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-07-19 21:39:48 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-07-19 21:39:48 +0000 |
commit | 45995219a015b841d48dff2b3920b03edcd35d06 (patch) | |
tree | 7ede40c8e4e43b4a7bcce09a92fab7b16b3ec1e4 /doc/src | |
parent | 465edca3ecfb8f1750adda9731820286c109973b (diff) | |
download | postgresql-45995219a015b841d48dff2b3920b03edcd35d06.tar.gz postgresql-45995219a015b841d48dff2b3920b03edcd35d06.zip |
Here is another patch that fixes a stack of pg_dump bugs:
* Fix help text ordering
* Add back --set-session-authorization to pg_dumpall. Updated the docs
for that. Updated help for that.
* Dump ALTER USER commands for the cluster owner ("pgsql"). These are
dumped AFTER the create user and create database commands in case the
permissions to do these have been revoked.
* Dump ALTER OWNER for public schema (because it's possible to change
it). This was done by adding TOC entries for the public schema, and
filtering them out at archiver time. I also save the owner in the TOC
entry just for the public schema.
* Suppress dumping single quotes around schema_path and DateStyle
options when they are set using ALTER USER or ALTER DATABASE. Added a
comment to the steps in guc.c to remind people to update that list.
* Fix dumping in --clean mode against a pre-7.3 server. It just sets
all drop statements to assume the public schema, allowing it to restore
without error.
* Cleaned up text output. eg. Don't output -- Tablespaces comment if
there are none. Same for groups and users.
* Make the commands to DELETE FROM pg_shadow and DELETE FROM pg_group
only be output when -c mode is enabled. I'm not sure why that hasn't
been done before?!?!
This should be good for application asap, after which I will start on
regression dumping 7.0-7.4 databases.
Christopher Kings-Lynne
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_dumpall.sgml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml index efc35f75146..9a891cd1fb3 100644 --- a/doc/src/sgml/ref/pg_dumpall.sgml +++ b/doc/src/sgml/ref/pg_dumpall.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.45 2004/07/12 14:35:43 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.46 2004/07/19 21:39:46 momjian Exp $ PostgreSQL documentation --> @@ -280,11 +280,14 @@ PostgreSQL documentation <term><option>--use-set-session-authorization</></term> <listitem> <para> - This option is obsolete but still accepted for backwards - compatibility with <application>pg_dump</application>. + Output SQL standard SET SESSION AUTHORIZATION commands instead + of OWNER TO commands. This makes the dump more standards compatible, + but depending on the history of the objects in the dump, may not + restore properly. </para> </listitem> </varlistentry> + </variablelist> </para> |