From c84ba6638eda656efc6ffdf279bc66fbdcc36c9d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 4 Apr 2000 05:22:46 +0000 Subject: Add a check to pg_dump to see whether backend is same version as pg_dump. If not, abort by default. Abort can be prevented by using -i or --ignore-version switch. --- doc/src/sgml/ref/pg_dump.sgml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index f659f2009f7..14a986d6a49 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1,5 +1,5 @@ @@ -26,7 +26,7 @@ Postgres documentation pg_dump [ dbname ] pg_dump [ -h host ] [ -p port ] [ -t table ] - [ -a ] [ -c ] [ -d ] [ -D ] [ -n ] [ -N ] + [ -a ] [ -c ] [ -d ] [ -D ] [ -i ] [ -n ] [ -N ] [ -o ] [ -s ] [ -u ] [ -v ] [ -x ] [ dbname ] @@ -92,6 +92,22 @@ pg_dump [ -h host ] [ -p + + -i + + + Ignore version mismatch between pg_dump + and the database server. Since pg_dump + knows a great deal about system catalogs, any given version of + pg_dump is only intended to work with + the corresponding release of the database server. Use this option + if you need to override the version check (and if + pg_dump then fails, don't + say you weren't warned). + + + + -n -- cgit v1.2.3