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
5eeab9c8
Commit
5eeab9c8
authored
Nov 30, 2012
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In pg_upgrade, improve status wording now that we have per-database
status output for dump/restore.
parent
113d25c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
contrib/pg_upgrade/dump.c
contrib/pg_upgrade/dump.c
+4
-3
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.c
+2
-2
No files found.
contrib/pg_upgrade/dump.c
View file @
5eeab9c8
...
...
@@ -18,9 +18,7 @@ generate_old_dump(void)
{
int
dbnum
;
prep_status
(
"Creating catalog dump
\n
"
);
pg_log
(
PG_REPORT
,
OVERWRITE_MESSAGE
,
"global objects"
);
prep_status
(
"Creating dump of global objects"
);
/* run new pg_dumpall binary for globals */
exec_prog
(
UTILITY_LOG_FILE
,
NULL
,
true
,
...
...
@@ -28,6 +26,9 @@ generate_old_dump(void)
new_cluster
.
bindir
,
cluster_conn_opts
(
&
old_cluster
),
log_opts
.
verbose
?
"--verbose"
:
""
,
GLOBALS_DUMP_FILE
);
check_ok
();
prep_status
(
"Creating dump of database schemas
\n
"
);
/* create per-db dump files */
for
(
dbnum
=
0
;
dbnum
<
old_cluster
.
dbarr
.
ndbs
;
dbnum
++
)
...
...
contrib/pg_upgrade/pg_upgrade.c
View file @
5eeab9c8
...
...
@@ -248,7 +248,7 @@ prepare_new_databases(void)
set_frozenxids
();
prep_status
(
"
Creating database
s in the new cluster"
);
prep_status
(
"
Restoring global object
s in the new cluster"
);
/*
* Install support functions in the global-object restore database to
...
...
@@ -297,7 +297,7 @@ create_new_objects(void)
}
check_ok
();
prep_status
(
"Restoring database schema
to
new cluster
\n
"
);
prep_status
(
"Restoring database schema
s in the
new cluster
\n
"
);
for
(
dbnum
=
0
;
dbnum
<
old_cluster
.
dbarr
.
ndbs
;
dbnum
++
)
{
...
...
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