From: Tom Lane Date: Sun, 29 Mar 2026 18:06:50 +0000 (-0400) Subject: Doc: document more incompatible pg_restore option pairs. X-Git-Tag: REL_19_BETA1~619 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4cb9c37765;p=thirdparty%2Fpostgresql.git Doc: document more incompatible pg_restore option pairs. Most of the pairs of incompatible options (such as --file and --dbname) are pretty obvious and need no explanation. But it may not be obvious that --single-transaction cannot be used together with --create or multiple jobs, so let's mention that in the documentation. Author: Ashutosh Bapat Reviewed-by: Laurenz Albe Discussion: https://postgr.es/m/CAExHW5ti5igDwOOde6shgfS7JPtCY9gNrkB3xNr=FuGTYVDSjQ@mail.gmail.com --- diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml index c7ed947968c..9d91c365214 100644 --- a/doc/src/sgml/ref/pg_restore.sgml +++ b/doc/src/sgml/ref/pg_restore.sgml @@ -190,6 +190,11 @@ PostgreSQL documentation CREATE DATABASE commands. All data is restored into the database name that appears in the archive. + + + This option cannot be used together + with . + @@ -600,6 +605,8 @@ PostgreSQL documentation ensures that either all the commands complete successfully, or no changes are applied. This option implies . + It cannot be used together with , nor with + multiple jobs ().