From a0c449a0f8bc29326c7fa9b49c2198a92e35681a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 12 Aug 2001 19:02:39 +0000 Subject: Make pg_dump handle the new privileges. Don't hardcode the maximum accepted server version, use PG_VERSION instead. Install a notice processor so notices are handled like error messages. Word smithing. --- doc/src/sgml/ref/pg_dump.sgml | 37 +++++++++++-------------------------- doc/src/sgml/ref/pg_restore.sgml | 5 +++-- 2 files changed, 14 insertions(+), 28 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 14f2f9e497a..2eec491cd42 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1,5 +1,5 @@ @@ -121,7 +121,7 @@ Postgres documentation --data-only - Dump only the data, not the schema (definitions). + Dump only the data, not the schema (data definitions). @@ -171,11 +171,15 @@ Postgres documentation -D + --column-inserts --attribute-inserts Dump data as INSERT commands with explicit - column names. This will make restoration very slow. + column names (INSERT INTO + table + (column, ...) VALUES + ...). This will make restoration very slow. @@ -320,7 +324,7 @@ Postgres documentation --schema-only - Dump only the schema (definitions), no data. + Dump only the schema (data definitions), no data. @@ -358,10 +362,12 @@ Postgres documentation -x + --no-privileges --no-acl - Prevent dumping of ACLs (grant/revoke commands) and table ownership information. + Prevent dumping of access privileges (grant/revoke commands) + and table ownership information. @@ -467,24 +473,6 @@ connectDBStart() -- connect() failed: No such file or directory - - - - - -dumpSequence(table): SELECT failed - - - - - - - - You do not have permission to read the database. - Contact your Postgres site administrator. - - - @@ -503,9 +491,6 @@ dumpSequence(table): SELECT failed Notes pg_dump has a few limitations. - The limitations mostly stem from - difficulty in extracting certain meta-information from the system - catalogs. diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml index e30f4242188..0acb3fb1512 100644 --- a/doc/src/sgml/ref/pg_restore.sgml +++ b/doc/src/sgml/ref/pg_restore.sgml @@ -1,4 +1,4 @@ - + @@ -405,10 +405,11 @@ -x + --no-privileges --no-acl - Prevent restoration of ACLs (grant/revoke commands). + Prevent restoration of access privileges (grant/revoke commands). -- cgit v1.2.3