Re: Replace PG_AUTOCONF_FILENAME with parameter

2018-10-04 Thread Andrew Gierth
> "Jonathan" == Jonathan Jacobson 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 rewrit

Re: Replace PG_AUTOCONF_FILENAME with parameter

2018-10-04 Thread Michael Paquier
On Fri, Oct 05, 2018 at 09:39:03AM +0300, Jonathan Jacobson wrote: > As opposed to config_file, hba_file, etc. the name and location of the > autoconfig file is fixed to $PGDATA/postgresql.auto.conf (guc.h) > > The static name also appears in some other locations, such as > pg_basebackup, pg_rewin

Replace PG_AUTOCONF_FILENAME with parameter

2018-10-04 Thread Jonathan Jacobson
As opposed to config_file, hba_file, etc. the name and location of the autoconfig file is fixed to $PGDATA/postgresql.auto.conf (guc.h) The static name also appears in some other locations, such as pg_basebackup, pg_rewind & initdb.c. New feature suggestion: Allow to set the file's location, as w