]> granicus.if.org Git - postgresql/commit
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)
commitc22ed3d523782c43836c163c16fa5a7bb3912826
tree9368d9b4d7e8ac32966b219c4a2e1843ea362406
parentba1c463096b750b4aa4b692c3fe7c7cc9fbfbd45
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