From: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
---|---|
To: | Jonathan Jacobson <jonjac(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Replace PG_AUTOCONF_FILENAME with parameter |
Date: | 2018-10-05 06:56:16 |
Message-ID: | 87in2gdh2f.fsf@news-spur.riddles.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>>>>> "Jonathan" == Jonathan Jacobson <jonjac(at)gmail(dot)com> writes:
Jonathan> As opposed to config_file, hba_file, etc. the name and
Jonathan> location of the autoconfig file is fixed to
Jonathan> $PGDATA/postgresql.auto.conf (guc.h)
The reason it's in a fixed location is that the server needs to be able
to rewrite the file, and we don't assume we can write to directories
outside of $PGDATA unless the _directory_ (not the file) was explicitly
specified (e.g. unix_socket_directories or stats_temp_directory).
hba_file and ident_file can be outside $PGDATA because the server never
needs to write to them.
--
Andrew (irc:RhodiumToad)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-10-05 07:05:18 | Re: pg_upgrade failed with ERROR: null relpartbound for relation 18159 error. |
Previous Message | Michael Paquier | 2018-10-05 06:52:19 | Re: partition tree inspection functions |