From: | Mateusz Henicz <mateuszhenicz(at)gmail(dot)com> |
---|---|
To: | Poornima Venkatesan <poornima3230(at)gmail(dot)com> |
Cc: | Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #17567: Unable to Set Max_Connection in Postgresql which has replicas |
Date: | 2022-08-04 08:32:42 |
Message-ID: | CAN6i3YNBUaTeUoZ6s=Y0952KSU_SOP-p_mS_VvhDkQbiSSrZdQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-general |
Hey,
It is not a bug.
If you are using patroni, you should change your parameters in patroni
configuration yaml file, so the changes are reflected in your Distributed
Configuration Store. If you would look at the Patroni documentation (
https://patroni.readthedocs.io/en/latest/SETTINGS.html) you can find a
note, that parameters like max_connections are stored in DCS and applied on
all Patroni nodes overwriting settings from postgresql.conf. Also if
Postgres was bootstrapped by Patroni, postgresql.conf itself should have a
note:
# Do not edit this file manually!
# It will be overwritten by Patroni!
Hope it helps.
Cheers,
Mateusz
czw., 4 sie 2022 o 10:21 Poornima Venkatesan <poornima3230(at)gmail(dot)com>
napisał(a):
>
> Hi Team,
>
> PostgreSQL in our Production environment is configured using primary and
> secondary DB servers via Patroni. We have requirement to explicitly to set
> Max_Connection as 300 overriding default value. If we set Max_Connections
> in
> postgresql.config, it is getting reset post restart of Patroni.
>
> Please advise us on the steps on how to configure and set Max_Connections
> in
> Replica DB servers.
>
> Thanks & Regards,
> Poornima V
>
>
> On Wed, Aug 3, 2022 at 4:43 PM Juan José Santamaría Flecha <
> juanjo(dot)santamaria(at)gmail(dot)com> wrote:
>
>>
>> On Wed, Aug 3, 2022 at 12:48 PM PG Bug reporting form <
>> noreply(at)postgresql(dot)org> wrote:
>>
>>>
>>> Please advise us on the steps on how to configure and set
>>> Max_Connections in
>>> Replica DB servers.
>>>
>>
>> This list is meant for reporting bugs only, please send questions like so
>> to pgsql-general(at)lists(dot)postgresql(dot)org(dot)
>>
>> Regards,
>>
>> Juan José Santamaría Flecha
>>
>
From | Date | Subject | |
---|---|---|---|
Next Message | houzj.fnst@fujitsu.com | 2022-08-04 09:29:50 | RE: No-op updates with partitioning and logical replication started failing in version 13 |
Previous Message | PG Bug reporting form | 2022-08-04 08:27:06 | BUG #17570: Unrecognized node type for query with statistics on expressions |
From | Date | Subject | |
---|---|---|---|
Next Message | sivapostgres@yahoo.com | 2022-08-04 08:52:08 | Re: Behavior of identity columns |
Previous Message | Kyotaro Horiguchi | 2022-08-04 08:30:16 | Re: Unable to start replica after failover |