Re: [DOCS] 19.2. File Locations doesn't tell you the file locations!
От
Ian Barwick
Тема
Re: [DOCS] 19.2. File Locations doesn't tell you the file locations!
Дата
Msg-id
4a684d34-20e1-6aab-999d-ec2a9b46ebb5@2ndquadrant.com
Ответ на
Re: [DOCS] 19.2. File Locations doesn't tell you the file locations! (David G. Johnston)
Список
Дерево обсуждения
[DOCS] 19.2. File Locations doesn't tell you the file locations! redirect.null@gmail.com
Re: [DOCS] 19.2. File Locations doesn't tell you the file locations! "David G. Johnston" <david.g.johnston@gmail.com>
Re: [DOCS] 19.2. File Locations doesn't tell you the file locations! Ian Barwick <ian.barwick@2ndquadrant.com>
On 10/10/2017 11:46 PM, David G. Johnston wrote:> On Fri, Oct 6, 2017 at 3:06 AM, >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
В списке pgsql-docs по дате отправления