Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cnpeM-0007Es-6A for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Mar 2017 16:50:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cnpeK-0003WN-Uz for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Mar 2017 16:50:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cnpeK-0003UA-3g for pgsql-hackers@postgresql.org; Tue, 14 Mar 2017 16:50:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cnpeI-0001rA-5q for pgsql-hackers@postgresql.org; Tue, 14 Mar 2017 16:50:15 +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 v2EGo9Yw029762; Tue, 14 Mar 2017 12:50:09 -0400 From: Tom Lane To: Alvaro Herrera cc: Euler Taveira , Robert Haas , Joe Conway , "pgsql-hackers@postgresql.org" Subject: Re: Upgrading postmaster's log messages about bind/listen errors In-reply-to: <17211.1489189214@sss.pgh.pa.us> References: <20170310202722.shpauoi6zcpptu2k@alvherre.pgsql> <29712.1489177966@sss.pgh.pa.us> <17211.1489189214@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Fri, 10 Mar 2017 18:40:14 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29760.1489510209.1@sss.pgh.pa.us> Date: Tue, 14 Mar 2017 12:50:09 -0400 Message-ID: <29761.1489510209@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 I wrote: >> I think that what would actually be of some use nowadays is a LOG-level >> message emitted if the wraparound *isn't* activated immediately at start. >> But otherwise, we should follow the rule that silence is golden. > Concretely, how about the attached? It preserves the original > "protections are now enabled" message at LOG level, but emits it only > when oldestOffsetKnown becomes true *after* startup. Meanwhile, if > oldestOffsetKnown is still not true at the conclusion of TrimMultiXact, > then it emits a new LOG message about "protections are not active". I realized that the second of these is not necessary because it's redundant with the message about "MultiXact member wraparound protections are disabled because oldest checkpointed MultiXact %u does not exist on disk". Pushed without that. 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