From 08d715a2d48909cb5e42359e15f89927957ee3c8 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Wed, 25 Jul 2012 22:00:00 +0300
Subject: [PATCH] Document that pg_basebackup will create its output directory

---
 doc/src/sgml/ref/pg_basebackup.sgml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml
index ebd6e1e9f86..d22c0c5eb0e 100644
--- a/doc/src/sgml/ref/pg_basebackup.sgml
+++ b/doc/src/sgml/ref/pg_basebackup.sgml
@@ -122,6 +122,9 @@ PostgreSQL documentation
       <listitem>
        <para>
         Directory to write the output to.
+        <application>pg_basebackup</application> will create the directory and
+        any parent directories if necessary.  The directory may already exist,
+        but it is an error if the directory already exists and is not empty.
        </para>
        <para>
         When the backup is in tar mode, and the directory is specified as
-- 
GitLab