From: Ian Barwick <ian.barwick@2ndquadrant.com>
To: redirect.null@gmail.com
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-docs@postgresql.org <pgsql-docs@postgresql.org>
Subject: Re: 19.2. File Locations doesn't tell you the file locations!
Date: Thu, 12 Oct 2017 09:32:21 +0900
Message-ID: <4a684d34-20e1-6aab-999d-ec2a9b46ebb5@2ndquadrant.com> (raw)
In-Reply-To: <CAKFQuwZfZW8LkPPcR-12Mq1e=jBwCGH0GNWZZPm87ujgdS1Wkw@mail.gmail.com>
References: <20171006100649.14645.41518@wrigleys.postgresql.org>
<CAKFQuwZfZW8LkPPcR-12Mq1e=jBwCGH0GNWZZPm87ujgdS1Wkw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>
On 10/10/2017 11:46 PM, David G. Johnston wrote:
> On Fri, Oct 6, 2017 at 3:06 AM, <redirect.null@gmail.com <mailto:redirect.null@gmail.com>>wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/10/static/runtime-config-file-locations.html
> Description:
>
> In the latest documentation "Section 19.2. File Locations" tells you how to
> set the locations of the various config files, but it doesn't tell you how
> to find out where they bloody well are in the first place! Which seems like
> a ridiculous ommission.
>
> If the section in the documentation titled 'File Locations' isn't the
> appropriate place to document the locations of the config files, then I
> don't know where the hell is.
>
>
> The "installation instructions" covers where files are placed when installing from source.
>
> https://www.postgresql.org/docs/10/static/install-procedure.html
>
> If you are not installing from source them whomever compiled the package you are
> installing will have specified where they are placing files and you will need to
> inquire of them.
>
> The PostgreSQL docs don't cover file locations in depth because each of the many
> platforms we support have their own conventions.
It is of course possible to obtain the current values contained by the settings
listed on that page with e.g.:
SHOW config_file
or
SELECT setting FROM pg_settings WHERE name = 'config_file'
Server has to be running, of course.
The various ways of getting current parameter values are documented on the previous
manual page here:
https://www.postgresql.org/docs/10/static/config-setting.html#config-setting-sql-command-interaction
Regards
Ian Barwick
--
Ian Barwick http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
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: pgsql-docs@postgresql.org
Cc: ian.barwick@2ndquadrant.com, redirect.null@gmail.com, david.g.johnston@gmail.com
Subject: Re: 19.2. File Locations doesn't tell you the file locations!
In-Reply-To: <4a684d34-20e1-6aab-999d-ec2a9b46ebb5@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox