diff options
author | Bruce Momjian | 2012-11-30 21:30:13 +0000 |
---|---|---|
committer | Bruce Momjian | 2012-11-30 21:30:13 +0000 |
commit | 12ee6ec71f8754ff3573711032b9b4d5a764ba84 (patch) | |
tree | 08dccd260579d668a68efcf73463025f02472cfa /contrib/pg_upgrade/util.c | |
parent | bd9c8e741b5724e31b2a3d8da9f0218f7b3b44e5 (diff) |
In pg_upgrade, dump each database separately and use
--single-transaction to restore each database schema. This yields
performance improvements for databases with many tables. Also, remove
split_old_dump() as it is no longer needed.
Diffstat (limited to 'contrib/pg_upgrade/util.c')
-rw-r--r-- | contrib/pg_upgrade/util.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/pg_upgrade/util.c b/contrib/pg_upgrade/util.c index 1d4bc89f0bf..0c1ecccaa7a 100644 --- a/contrib/pg_upgrade/util.c +++ b/contrib/pg_upgrade/util.c @@ -35,6 +35,18 @@ report_status(eLogType type, const char *fmt,...) } +/* force blank output for progress display */ +void +end_progress_output(void) +{ + /* + * In case nothing printed; pass a space so gcc doesn't complain about + * empty format string. + */ + prep_status(" "); +} + + /* * prep_status * |