From 07961ef86625be91e243f1dff8911cb1d70e443f Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Fri, 7 Nov 2025 15:10:50 +0100 Subject: [PATCH] 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 Reviewed-by: Bruce Momjian Discussion: https://postgr.es/m/534AA60D-CF6B-432F-9882-E9737B33D1B7@gmail.com --- doc/src/sgml/ref/pg_dump.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index fd4ecf01a0a..5ac3f3e8510 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -297,8 +297,8 @@ PostgreSQL documentation file based output formats, in which case the standard output is used. It must be given for the directory output format however, where it specifies the target directory instead of a file. In this case the - directory is created by pg_dump and must not exist - before. + directory is created by pg_dump unless the directory + exist and is empty. -- 2.47.3