1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Cleanup ClusterInfo initialization in pg_upgrade

This commit is contained in:
Alvaro Herrera
2011-02-16 14:06:17 -03:00
parent 3a087369c0
commit b4a7e5980b
3 changed files with 10 additions and 2 deletions

View File

@ -63,9 +63,10 @@ main(int argc, char **argv)
char *deletion_script_file_name = NULL;
bool live_check = false;
initialize_cluster_info(&old_cluster);
initialize_cluster_info(&new_cluster);
parseCommandLine(argc, argv);
old_cluster.dbarr.ndbs = 0;
new_cluster.dbarr.ndbs = 0;
output_check_banner(&live_check);