public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Peter Krauss <[email protected]>
Cc: [email protected]
Subject: Re: please inform data_directory
Date: Thu, 11 Oct 2018 15:24:31 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAHEREttx5uKOP95Pb4_vgmpj72uMqj9yTaTNoq7bJZxZSUL4SA@mail.gmail.com>
References: <[email protected]>
	<[email protected]>
	<CAHEREtv=-5nqNs0428VAHugg0c0ERvyxRC8MaXgkNGsztP_KEw@mail.gmail.com>
	<[email protected]>
	<CAHEREttx5uKOP95Pb4_vgmpj72uMqj9yTaTNoq7bJZxZSUL4SA@mail.gmail.com>

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 <[email protected]> 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  <[email protected]>        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 +


Attachments:

  [text/x-diff] datadir.diff (1.3K, 2-datadir.diff)
  download | inline diff:
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>


view thread (8+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: please inform data_directory
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox