Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPaaH-0006e5-SW for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Jun 2017 20:26:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dPaaH-00044R-8x for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Jun 2017 20:26:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dPaaG-00040o-Bx for pgsql-hackers@postgresql.org; Mon, 26 Jun 2017 20:26:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dPaaB-0004ZH-5J for pgsql-hackers@postgresql.org; Mon, 26 Jun 2017 20:26:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v5QKQ0Om018891; Mon, 26 Jun 2017 16:26:00 -0400 From: Tom Lane To: Andres Freund cc: Jeff Janes , Michael Paquier , PostgreSQL mailing lists Subject: Re: Reducing pg_ctl's reaction time In-reply-to: <20170626202356.qybnpn5li2ke4ioc@alap3.anarazel.de> References: <18444.1498428798@sss.pgh.pa.us> <24992.1498504537@sss.pgh.pa.us> <18520.1498508356@sss.pgh.pa.us> <20170626202356.qybnpn5li2ke4ioc@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 26 Jun 2017 13:23:56 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18889.1498508760.1@sss.pgh.pa.us> Date: Mon, 26 Jun 2017 16:26:00 -0400 Message-ID: <18890.1498508760@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund writes: > On 2017-06-26 16:19:16 -0400, Tom Lane wrote: >> Sure, what do you think an appropriate behavior would be? > It'd not be unreasonble to check pg_control first, and only after that > indicates readyness check via the protocol. Hm, that's a thought. The problem here isn't the frequency of checks, but the log spam. > Doesn't quite seem like something backpatchable tho. I didn't back-patch the pg_ctl change anyway, so that's no issue. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers