Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdec10ba

Browse files
committed
Mark pg_upgrade's free_db_and_rel_infos() as a static function.
1 parent3bdfd9c commitdec10ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎contrib/pg_upgrade/info.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ static void create_rel_filename_map(const char *old_data, const char *new_data,
1818
constDbInfo*old_db,constDbInfo*new_db,
1919
constRelInfo*old_rel,constRelInfo*new_rel,
2020
FileNameMap*map);
21+
staticvoidfree_db_and_rel_infos(DbInfoArr*db_arr);
2122
staticvoidget_db_infos(ClusterInfo*cluster);
2223
staticvoidget_rel_infos(ClusterInfo*cluster,DbInfo*dbinfo);
2324
staticvoidfree_rel_infos(RelInfoArr*rel_arr);
@@ -370,7 +371,7 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
370371
}
371372

372373

373-
void
374+
staticvoid
374375
free_db_and_rel_infos(DbInfoArr*db_arr)
375376
{
376377
intdbnum;

‎contrib/pg_upgrade/pg_upgrade.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ FileNameMap *gen_db_file_maps(DbInfo *old_db,
388388
DbInfo*new_db,int*nmaps,constchar*old_pgdata,
389389
constchar*new_pgdata);
390390
voidget_db_and_rel_infos(ClusterInfo*cluster);
391-
voidfree_db_and_rel_infos(DbInfoArr*db_arr);
392391
voidprint_maps(FileNameMap*maps,intn,
393392
constchar*db_name);
394393

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp