From d699571de1d0fe3665d28026bcbe720e8f6ba738 Mon Sep 17 00:00:00 2001
From: Kyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Date: Wed, 24 Apr 2019 16:02:47 +0900
Subject: [PATCH 5/5] Documentation update

---
 doc/src/sgml/ref/create_tablespace.sgml | 5 +++--
 doc/src/sgml/ref/pg_basebackup.sgml     | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/src/sgml/ref/create_tablespace.sgml b/doc/src/sgml/ref/create_tablespace.sgml
index c621ec2c6b..e2e9625483 100644
--- a/doc/src/sgml/ref/create_tablespace.sgml
+++ b/doc/src/sgml/ref/create_tablespace.sgml
@@ -94,8 +94,9 @@ CREATE TABLESPACE <replaceable class="parameter">tablespace_name</replaceable>
         The directory that will be used for the tablespace. The directory
         must exist (<command>CREATE TABLESPACE</command> will not create it),
         should be empty, and must be owned by the
-        <productname>PostgreSQL</productname> system user.  The directory must be
-        specified by an absolute path name.
+        <productname>PostgreSQL</productname> system user.  The directory may
+        be specified by a relative path name based on the data directory but
+        must not be inside the data directory.
        </para>
       </listitem>
      </varlistentry>
diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml
index fc9e222f8d..ba9ba13b4c 100644
--- a/doc/src/sgml/ref/pg_basebackup.sgml
+++ b/doc/src/sgml/ref/pg_basebackup.sgml
@@ -238,8 +238,8 @@ PostgreSQL documentation
         path specification of the tablespace as it is currently defined.  (But
         it is not an error if there is no tablespace
         in <replaceable>olddir</replaceable> contained in the backup.)
-        Both <replaceable>olddir</replaceable>
-        and <replaceable>newdir</replaceable> must be absolute paths.  If a
+        If <replaceable>newdir</replaceable> is a relative path,
+        it is translated based on the output directory. If a
         path happens to contain a <literal>=</literal> sign, escape it with a
         backslash.  This option can be specified multiple times for multiple
         tablespaces.  See examples below.
-- 
2.16.3

