Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAgZa-00058a-Cj for pgsql-docs@arkaria.postgresql.org; Thu, 11 Oct 2018 19:24:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gAgZX-0008L0-Nk for pgsql-docs@arkaria.postgresql.org; Thu, 11 Oct 2018 19:24:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAgZX-0008Kt-I1 for pgsql-docs@lists.postgresql.org; Thu, 11 Oct 2018 19:24:35 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gAgZV-0005go-3G for pgsql-docs@lists.postgresql.org; Thu, 11 Oct 2018 19:24:35 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1gAgZT-0004Rn-M5; Thu, 11 Oct 2018 15:24:31 -0400 Date: Thu, 11 Oct 2018 15:24:31 -0400 From: Bruce Momjian To: Peter Krauss Cc: pgsql-docs@lists.postgresql.org Subject: Re: please inform data_directory Message-ID: <20181011192431.GE7807@momjian.us> References: <153653649616.23138.1453197444453120513@wrigleys.postgresql.org> <20181010195959.GB7806@momjian.us> <20181011185136.GD7807@momjian.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 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 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 + --0OAP2g/MAC+5xKAE Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="datadir.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 provide native access to files on the machine hosting the server. Only files within the ! database cluster directory and the log_directory can be accessed unless the user is granted the role pg_read_server_files. Use a relative path for files in the cluster directory, and a path matching the log_directory --- 20297,20305 ---- The functions shown in provide native access to files on the machine hosting the server. Only files within the ! database cluster directory (see data_directory) ! and the log_directory can be accessed unless the user is granted the role pg_read_server_files. Use a relative path for files in the cluster directory, and a path matching the log_directory --0OAP2g/MAC+5xKAE--