Skip to content

Commit 07961ef

Browse files
doc: Fix incorrect wording for --file in pg_dump
The documentation stated that the directory specified by --file must not exist, but pg_dump does allow for empty directories to be specified and used. Author: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Bruce Momjian <bruce@momjian.us> Discussion: https://postgr.es/m/534AA60D-CF6B-432F-9882-E9737B33D1B7@gmail.com
1 parent 0ab208f commit 07961ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ PostgreSQL documentation
297297
file based output formats, in which case the standard output is used.
298298
It must be given for the directory output format however, where it
299299
specifies the target directory instead of a file. In this case the
300-
directory is created by <command>pg_dump</command> and must not exist
301-
before.
300+
directory is created by <command>pg_dump</command> unless the directory
301+
exist and is empty.
302302
</para>
303303
</listitem>
304304
</varlistentry>

0 commit comments

Comments
 (0)