On Thu, Oct 11, 2018 at 03:56:42PM -0300, Peter Krauss wrote:
> 
> The page https://www.postgresql.org/docs/10/static/functions-admin.html
> need this information, is like a  "pg_read_file Guide".
> 
> 
> On Thu, Oct 11, 2018 at 3:51 PM Bruce Momjian <br...@momjian.us> wrote:
> 
>     On Thu, Oct 11, 2018 at 03:50:09PM -0300, Peter Krauss wrote:
>     > Hi, trying to explain again, 
>     > the "SHOW  data_directory"  is an information that not exist in the 
> guide
>     > today, but must to exist... is a suggestion to add information, a
>     middle-expert
>     > or non-extert reader need it.
> 
>     Uh, add data_directory where?  Which guide?

How is this patch adding a mention of the data_directory setting?

-- 
  Bruce Momjian  <br...@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
new file mode 100644
index 5193df3..0a5b30a
*** a/doc/src/sgml/func.sgml
--- b/doc/src/sgml/func.sgml
*************** postgres=# SELECT * FROM pg_walfile_name
*** 20297,20303 ****
      The functions shown in <xref
      linkend="functions-admin-genfile-table"/> provide native access to
      files on the machine hosting the server. Only files within the
!     database cluster directory and the <varname>log_directory</varname> can be
      accessed unless the user is granted the role
      <literal>pg_read_server_files</literal>.  Use a relative path for files in
      the cluster directory, and a path matching the <varname>log_directory</varname>
--- 20297,20305 ----
      The functions shown in <xref
      linkend="functions-admin-genfile-table"/> provide native access to
      files on the machine hosting the server. Only files within the
!     database cluster directory (see <link
!     linkend="guc-data-directory"><varname>data_directory</varname></link>)
!     and the <varname>log_directory</varname> can be
      accessed unless the user is granted the role
      <literal>pg_read_server_files</literal>.  Use a relative path for files in
      the cluster directory, and a path matching the <varname>log_directory</varname>

Reply via email to