We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent02aea36 commit2097723Copy full SHA for 2097723
contrib/pg_upgrade/pg_upgrade.c
@@ -309,11 +309,12 @@ create_new_objects(void)
309
310
/*
311
*Using pg_restore --single-transaction is faster than other
312
- *methods, like --jobs. pg_dump only produces its output at the
+ *methods, like --jobs. However, --single-transaction throws
313
+ *an error. 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,
-"\"%s/pg_restore\" %s --exit-on-error --single-transaction --verbose --dbname \"%s\" \"%s\"",
317
+"\"%s/pg_restore\" %s --exit-on-error --verbose --dbname \"%s\" \"%s\"",
318
new_cluster.bindir,cluster_conn_opts(&new_cluster),
319
old_db->db_name,file_name);
320
}