Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2on8-00048M-41 for pgsql-committers@arkaria.postgresql.org; Wed, 28 Aug 2019 03:38:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i2on6-00080z-TC for pgsql-committers@arkaria.postgresql.org; Wed, 28 Aug 2019 03:38:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2on6-00080s-JZ for pgsql-committers@lists.postgresql.org; Wed, 28 Aug 2019 03:38:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i2on0-00040V-3N for pgsql-committers@lists.postgresql.org; Wed, 28 Aug 2019 03:38:35 +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 x7S3cSId003630; Tue, 27 Aug 2019 23:38:28 -0400 From: Tom Lane To: Michael Paquier cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET. In-reply-to: <20190828012439.GA1965@paquier.xyz> References: <20190828012439.GA1965@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Wed, 28 Aug 2019 10:24:39 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3628.1566963508.1@sss.pgh.pa.us> Date: Tue, 27 Aug 2019 23:38:28 -0400 Message-ID: <3629.1566963508@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > On Mon, Aug 26, 2019 at 09:03:08PM +0000, Tom Lane wrote: >> Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET. > Just for the note. I think that this needs a closer lookup and I am > afraid that there are more issues like this one. Yeah, it might be a good idea to make a sweep to see what other tests should be using safe_psql. Or, more radically, we could think about redefining PostgresNode::psql to complain about errors, and you have to use something else if you want it not to? regards, tom lane