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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user