From 105f08f72a274cd9c1798d9d34e57163a1bb1221 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 26 Mar 2008 16:34:47 +0000 Subject: [PATCH] Fix bad spelling and worse grammar in recent doc commits. Propagate pg_dump --ignore-version comments into pg_dumpall and pg_restore pages. --- doc/src/sgml/array.sgml | 4 ++-- doc/src/sgml/ref/pg_dump.sgml | 18 ++++++++++-------- doc/src/sgml/ref/pg_dumpall.sgml | 15 +++++++++------ doc/src/sgml/ref/pg_restore.sgml | 3 ++- 4 files changed, 23 insertions(+), 17 deletions(-) diff --git a/doc/src/sgml/array.sgml b/doc/src/sgml/array.sgml index 3f7e5d9a3e..caea47c802 100644 --- a/doc/src/sgml/array.sgml +++ b/doc/src/sgml/array.sgml @@ -259,8 +259,8 @@ SELECT schedule[1:2][2] FROM sal_emp WHERE name = 'Bill'; (1 row) - To avoid confusion with slices, use slice syntax for all dimmension - references, e.g. [1:2][1:1], not [2][1:1]. + To avoid confusion with the non-slice case, it's best to use slice syntax + for all dimensions, e.g., [1:2][1:1], not [2][1:1]. diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 30528402cc..1e07120026 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -296,18 +296,20 @@ PostgreSQL documentation - Ignore incompatible version check between + Ignore version mismatch between pg_dump and the database server. - Dumping from a server newer than pg_dump - is likely fail and is disabled by default. - Also, while pg_dump can dump from servers running - previous releases of PostgreSQL, some very old - versions are not supported (currently, pre-7.0). - Use this option if you need to override the version check, but - be prepared for pg_dump to fail. + By default, pg_dump will refuse to attempt + to dump from a server that is of a newer PostgreSQL + version than pg_dump is. It will also + refuse to attempt to dump from a server that is older than the oldest + supported version (currently, 7.0). The diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml index 1fef132782..ce5b8232c8 100644 --- a/doc/src/sgml/ref/pg_dumpall.sgml +++ b/doc/src/sgml/ref/pg_dumpall.sgml @@ -161,12 +161,15 @@ PostgreSQL documentation - pg_dumpall can handle databases - from previous releases of PostgreSQL, but very - old versions are not supported anymore (currently prior to - 7.0). Use this option if you need to override the version - check (and if pg_dumpall then - fails, don't say you weren't warned). + By default, pg_dumpall will refuse to attempt + to dump from a server that is of a newer PostgreSQL + version than pg_dumpall is. It will also + refuse to attempt to dump from a server that is older than the oldest + supported version (currently, 7.0). The diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml index 502a307d0b..073aeca01c 100644 --- a/doc/src/sgml/ref/pg_restore.sgml +++ b/doc/src/sgml/ref/pg_restore.sgml @@ -200,7 +200,8 @@ - Ignore database version checks. + Ignore version mismatch between + pg_restore and the database server. -- 2.39.5