Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRj7T-0006q5-36 for pgsql-hackers@arkaria.postgresql.org; Sun, 02 Jul 2017 17:57:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dRj7S-0005Tf-3v for pgsql-hackers@arkaria.postgresql.org; Sun, 02 Jul 2017 17:57:14 +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 1dRj5u-0002ld-2h for pgsql-hackers@postgresql.org; Sun, 02 Jul 2017 17:55:38 +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 1dRj5m-0006c6-VB for pgsql-hackers@postgresql.org; Sun, 02 Jul 2017 17:55:36 +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 v62HtTNt022619; Sun, 2 Jul 2017 13:55:29 -0400 From: Tom Lane To: Alvaro Herrera cc: pgsql-hackers@postgresql.org Subject: Re: Race-like failure in recovery/t/009_twophase.pl In-reply-to: <20170702173243.n3egcibv4svzthak@alvherre.pgsql> References: <20170702173243.n3egcibv4svzthak@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Sun, 02 Jul 2017 13:32:43 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22617.1499018129.1@sss.pgh.pa.us> Date: Sun, 02 Jul 2017 13:55:29 -0400 Message-ID: <22618.1499018129@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 Alvaro Herrera writes: > Tom Lane wrote: >> * Some effort should be put into emitting text to the log showing >> what's going on, eg print("Now london is master."); as appropriate. > Check. Not "print" though; I think using note(" .. ") (from Test::More) > is more appropriate. Will do, thanks for the suggestion. 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