Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ca021bc

Browse files
ashutosh-bapatCommitfest Bot
authored and
Commitfest Bot
committed
pg_restore documentation correction
--create and --single-transaction switches cannot be specified together. But --pg_restore documentation does not mention this. Fix the documentation. Author: Ashutosh Bapat
1 parent fe29b2a commit ca021bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/src/sgml/ref/pg_restore.sgml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ PostgreSQL documentation
159159
<command>CREATE DATABASE</command> commands. All data is restored into the
160160
database name that appears in the archive.
161161
</para>
162+
163+
<para>
164+
This option cannot be used with <option>--single-transaction</option>.
165+
</para>
162166
</listitem>
163167
</varlistentry>
164168

@@ -553,7 +557,8 @@ PostgreSQL documentation
553557
emitted commands in <command>BEGIN</command>/<command>COMMIT</command>). This
554558
ensures that either all the commands complete successfully, or no
555559
changes are applied. This option implies
556-
<option>--exit-on-error</option>.
560+
<option>--exit-on-error</option>. This option cannot be used with
561+
<option>--create</option>.
557562
</para>
558563
</listitem>
559564
</varlistentry>

0 commit comments

Comments
 (0)