Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
dec10ba4
Commit
dec10ba4
authored
Nov 13, 2012
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark pg_upgrade's free_db_and_rel_infos() as a static function.
parent
3bdfd9cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
contrib/pg_upgrade/info.c
contrib/pg_upgrade/info.c
+2
-1
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/pg_upgrade.h
+0
-1
No files found.
contrib/pg_upgrade/info.c
View file @
dec10ba4
...
@@ -18,6 +18,7 @@ static void create_rel_filename_map(const char *old_data, const char *new_data,
...
@@ -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
DbInfo
*
old_db
,
const
DbInfo
*
new_db
,
const
RelInfo
*
old_rel
,
const
RelInfo
*
new_rel
,
const
RelInfo
*
old_rel
,
const
RelInfo
*
new_rel
,
FileNameMap
*
map
);
FileNameMap
*
map
);
static
void
free_db_and_rel_infos
(
DbInfoArr
*
db_arr
);
static
void
get_db_infos
(
ClusterInfo
*
cluster
);
static
void
get_db_infos
(
ClusterInfo
*
cluster
);
static
void
get_rel_infos
(
ClusterInfo
*
cluster
,
DbInfo
*
dbinfo
);
static
void
get_rel_infos
(
ClusterInfo
*
cluster
,
DbInfo
*
dbinfo
);
static
void
free_rel_infos
(
RelInfoArr
*
rel_arr
);
static
void
free_rel_infos
(
RelInfoArr
*
rel_arr
);
...
@@ -370,7 +371,7 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
...
@@ -370,7 +371,7 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
}
}
void
static
void
free_db_and_rel_infos
(
DbInfoArr
*
db_arr
)
free_db_and_rel_infos
(
DbInfoArr
*
db_arr
)
{
{
int
dbnum
;
int
dbnum
;
...
...
contrib/pg_upgrade/pg_upgrade.h
View file @
dec10ba4
...
@@ -388,7 +388,6 @@ FileNameMap *gen_db_file_maps(DbInfo *old_db,
...
@@ -388,7 +388,6 @@ FileNameMap *gen_db_file_maps(DbInfo *old_db,
DbInfo
*
new_db
,
int
*
nmaps
,
const
char
*
old_pgdata
,
DbInfo
*
new_db
,
int
*
nmaps
,
const
char
*
old_pgdata
,
const
char
*
new_pgdata
);
const
char
*
new_pgdata
);
void
get_db_and_rel_infos
(
ClusterInfo
*
cluster
);
void
get_db_and_rel_infos
(
ClusterInfo
*
cluster
);
void
free_db_and_rel_infos
(
DbInfoArr
*
db_arr
);
void
print_maps
(
FileNameMap
*
maps
,
int
n
,
void
print_maps
(
FileNameMap
*
maps
,
int
n
,
const
char
*
db_name
);
const
char
*
db_name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment