1
0
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:
Bruce Momjian
2011-02-16 15:16:57 -05:00
parent bca8b7f16a
commit 497e65f822
3 changed files with 1 additions and 32 deletions

View File

@ -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()