mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
pg_upgrade: update C comments about pg_dumpall
There were some C comments that hadn't been updated from the switch of using only pg_dumpall to using pg_dump and pg_dumpall, so update them. Also, don't bother using --schema-only for pg_dumpall --globals-only. Backpatch through 9.4
This commit is contained in:
@ -285,9 +285,9 @@ check_cluster_versions(void)
|
||||
PG_MAJORVERSION);
|
||||
|
||||
/*
|
||||
* We can't allow downgrading because we use the target pg_dumpall, and
|
||||
* pg_dumpall cannot operate on new database versions, only older
|
||||
* versions.
|
||||
* We can't allow downgrading because we use the target pg_dump, and
|
||||
* pg_dump cannot operate on newer database versions, only current and
|
||||
* older versions.
|
||||
*/
|
||||
if (old_cluster.major_version > new_cluster.major_version)
|
||||
pg_fatal("This utility cannot be used to downgrade to older major PostgreSQL versions.\n");
|
||||
|
Reference in New Issue
Block a user