From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
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:47:45 |
Message-ID: | 20181005064745.GC14664@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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_rewind & initdb.c.
>
> New feature suggestion: Allow to set the file's location, as with hba_file
> and ident_file.
>
> Would be glad to make it my contribution to the code.
Could you explain what is your use-case? postgresql.auto.conf is used
internally by Postgres to store information from ALTER SYSTEM, and is
not something aimed at being available externally.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-10-05 06:52:19 | Re: partition tree inspection functions |
Previous Message | Jonathan Jacobson | 2018-10-05 06:39:03 | Replace PG_AUTOCONF_FILENAME with parameter |