1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

In pg_upgrade, use the new postmaster -C option to get the real data

directory, for config-only directory installs.  Only works for PG 9.2+
servers.
This commit is contained in:
Bruce Momjian
2011-10-07 14:40:23 -04:00
parent a3996754cc
commit caa1054df8
4 changed files with 70 additions and 5 deletions

View File

@ -68,6 +68,9 @@ main(int argc, char **argv)
parseCommandLine(argc, argv);
adjust_data_dir(&old_cluster);
adjust_data_dir(&new_cluster);
output_check_banner(&live_check);
setup(argv[0], live_check);