mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
@ -104,8 +104,10 @@ exec_prog(const char *log_file, const char *opt_log_file,
|
||||
|
||||
if (result != 0)
|
||||
{
|
||||
report_status(PG_REPORT, "*failure*");
|
||||
/* we might be in on a progress status line, so go to the next line */
|
||||
report_status(PG_REPORT, "\n*failure*");
|
||||
fflush(stdout);
|
||||
|
||||
pg_log(PG_VERBOSE, "There were problems executing \"%s\"\n", cmd);
|
||||
if (opt_log_file)
|
||||
pg_log(throw_error ? PG_FATAL : PG_REPORT,
|
||||
|
Reference in New Issue
Block a user