max_connections different between primary and standby: is it possible? - Mailing list pgsql-general

From Luca Ferrari
Subject max_connections different between primary and standby: is it possible?
Date
Msg-id CAKoxK+6CgBD9yyymn0gQNCz=MmLyGZQb_Q9_gKmjXMrq+-ETvA@mail.gmail.com
Whole thread Raw
Responses Re: max_connections different between primary and standby: is it possible?  (Vijaykumar Jain <vijaykumarjain.github@gmail.com>)
Re: max_connections different between primary and standby: is it possible?  (Julien Rouhaud <rjuju123@gmail.com>)
List pgsql-general
Hi all,
running PostgreSQL 14, physical replication with slot, after changing
(increasing) the max_connections on the primary, I had this message at
a restart from the standby:

DETAIL:  max_connections = 100 is a lower setting than on the primary
server, where its value was 300.

and the standby does not start until I raise also its max_connections.
Why is PostgreSQL requiring the max_connections to be aligned between
the primary and the standby?

Thanks,
Luca



pgsql-general by date:

Previous
From: Shaozhong SHI
Date:
Subject: Re: Can Postgres beat Oracle for regexp_count?
Next
From: Vijaykumar Jain
Date:
Subject: Re: max_connections different between primary and standby: is it possible?