Turn the -i/--ignore-version options of pg_dump and pg_dumpall into no-ops:
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 13 Apr 2008 03:49:22 +0000 (03:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 13 Apr 2008 03:49:22 +0000 (03:49 +0000)
commit35856262b850c6223947d0c69ea8457c20438239
tree1301a268a716424cccf2a5b7ef2044fc081cf253
parent1c4d05e85ae467093b3d7391b69e5787ae9c0d11
Turn the -i/--ignore-version options of pg_dump and pg_dumpall into no-ops:
the server version check is now always enforced.  Relax the version check to
allow a server that is of pg_dump's own major version but a later minor
version; this is the only case that -i was at all safe to use in.

pg_restore already enforced only a very weak version check, so this is
really just a documentation change for it.

Per discussion.
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_restore.sgml
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_dump/pg_restore.c