pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Luca Ferrari <fluca1978@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: max_connections different between primary and standby: is it possible?
Date: Thu, 03 Feb 2022 09:55:09 -0500
Message-ID: <252827.1643900109@sss.pgh.pa.us> (raw)
In-Reply-To: <20220203141937.adnbceyimpj44d6l@jrouhaud>
References: <CAKoxK+6CgBD9yyymn0gQNCz=MmLyGZQb_Q9_gKmjXMrq+-ETvA@mail.gmail.com>
	<20220203094727.w3ca3sukfu5xu7hk@jrouhaud>
	<CALj2ACVXzdNcxg7gYx7+rDw1Uzip4-HO4XEcNyWYsNCPHEPdcQ@mail.gmail.com>
	<20220203141937.adnbceyimpj44d6l@jrouhaud>

Julien Rouhaud <rjuju123@gmail.com> writes:
> On Thu, Feb 03, 2022 at 05:39:57PM +0530, Bharath Rupireddy wrote:
>> ... Instead, it would be better
>> if the server emits a single log with all the insufficient
>> parameters(max_connections, max_worker_processes, max_wal_senders,
>> max_prepared_transactions and max_locks_per_transaction) values and
>> crashes FATALly. The users can look at the logs at once, set all the

> Sure, but one failed start / inspect logs / modify configuration / start will
> always by longer than just reading the docs and making sure that the
> configuration is appropriate.  It also won't help if you want to modify the
> settings on your primary and make sure that you won't have an incident on your
> HA setup.

I don't recall any field complaints, ever, about this behavior.
So I'm skeptical that it's a place to expend effort.

			regards, tom lane





view thread (6+ messages)

Message-ID: <252827.1643900109@sss.pgh.pa.us>
Permalink:  ../252827.1643900109@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/252827.1643900109@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rjuju123@gmail.com, bharath.rupireddyforpostgres@gmail.com, fluca1978@gmail.com
  Subject: Re: max_connections different between primary and standby: is it possible?
  In-Reply-To: <252827.1643900109@sss.pgh.pa.us>
  References: <CAKoxK+6CgBD9yyymn0gQNCz=MmLyGZQb_Q9_gKmjXMrq+-ETvA@mail.gmail.com> <20220203094727.w3ca3sukfu5xu7hk@jrouhaud> <CALj2ACVXzdNcxg7gYx7+rDw1Uzip4-HO4XEcNyWYsNCPHEPdcQ@mail.gmail.com> <20220203141937.adnbceyimpj44d6l@jrouhaud> <252827.1643900109@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox