mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
In pg_upgrade, no need to initialize global struct values; they are
always zeros. Also no need to free memory before we exit.
This commit is contained in:
@ -22,12 +22,6 @@ static void free_rel_infos(RelInfoArr *rel_arr);
|
||||
static void print_db_infos(DbInfoArr *dbinfo);
|
||||
static void print_rel_infos(RelInfoArr *arr);
|
||||
|
||||
void
|
||||
initialize_cluster_info(ClusterInfo *cluster)
|
||||
{
|
||||
cluster->dbarr.ndbs = 0;
|
||||
cluster->dbarr.dbs = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* gen_db_file_maps()
|
||||
|
Reference in New Issue
Block a user