1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-24 10:47:04 +03:00

Mark pg_upgrade's free_db_and_rel_infos() as a static function.

This commit is contained in:
Bruce Momjian 2012-11-13 21:10:40 -05:00
parent 3bdfd9cb9e
commit dec10ba4c5
2 changed files with 2 additions and 2 deletions

View File

@ -18,6 +18,7 @@ static void create_rel_filename_map(const char *old_data, const char *new_data,
const DbInfo *old_db, const DbInfo *new_db,
const RelInfo *old_rel, const RelInfo *new_rel,
FileNameMap *map);
static void free_db_and_rel_infos(DbInfoArr *db_arr);
static void get_db_infos(ClusterInfo *cluster);
static void get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo);
static void free_rel_infos(RelInfoArr *rel_arr);
@ -370,7 +371,7 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
}
void
static void
free_db_and_rel_infos(DbInfoArr *db_arr)
{
int dbnum;

View File

@ -388,7 +388,6 @@ FileNameMap *gen_db_file_maps(DbInfo *old_db,
DbInfo *new_db, int *nmaps, const char *old_pgdata,
const char *new_pgdata);
void get_db_and_rel_infos(ClusterInfo *cluster);
void free_db_and_rel_infos(DbInfoArr *db_arr);
void print_maps(FileNameMap *maps, int n,
const char *db_name);