We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2097723 commit 1c59e37Copy full SHA for 1c59e37
contrib/pg_upgrade/pg_upgrade.c
@@ -309,12 +309,11 @@ create_new_objects(void)
309
310
/*
311
* Using pg_restore --single-transaction is faster than other
312
- * methods, like --jobs. However, --single-transaction throws
313
- * an error. pg_dump only produces its output at the
+ * methods, like --jobs. pg_dump only produces its output at the
314
* end, so there is little parallelism using the pipe.
315
*/
316
exec_prog(RESTORE_LOG_FILE, NULL, true,
317
- "\"%s/pg_restore\" %s --exit-on-error --verbose --dbname \"%s\" \"%s\"",
+ "\"%s/pg_restore\" %s --exit-on-error --single-transaction --verbose --dbname \"%s\" \"%s\"",
318
new_cluster.bindir, cluster_conn_opts(&new_cluster),
319
old_db->db_name, file_name);
320
}
0 commit comments