From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | i(dot)taranov(at)postgrespro(dot)ru, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [PATCH] postgresql.conf.sample->postgresql.conf.sample.in |
Date: | 2020-03-28 11:13:38 |
Message-ID: | 5728e488-56da-8396-600d-5aa0079aed00@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2020-03-28 10:00, i(dot)taranov(at)postgrespro(dot)ru wrote:
> A patch for converting postgresql.conf.sample to
> postgresql.conf.sample.in . This feature allows you to manage the
> contents of postgresql.conf.sample at the configure phase.
>
> Usage example:
>
> ./configure --enable-foo
>
>
> configure.in:
>
> foo_params=$(cat <<-END
> foo_param1 = on
> foo_param2 = 16
> END
> )
> AC_SUBST(foo_params)
>
>
> postgresql.conf.sample.in:
>
> @foo_params@
>
>
> postgresql.conf.sample:
>
> foo_param1 = on
> foo_param2 = 16
Why do we need that? We already have the capability to make initdb edit
postgresql.conf.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Sergei Kornilov | 2020-03-28 11:20:44 | Re: Allow some recovery parameters to be changed with reload |
Previous Message | Sergei Kornilov | 2020-03-28 10:49:43 | Re: allow online change primary_conninfo |