Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lO16A-0007k6-OC for pgsql-committers@arkaria.postgresql.org; Sun, 21 Mar 2021 16:38:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lO168-0006fJ-K0 for pgsql-committers@arkaria.postgresql.org; Sun, 21 Mar 2021 16:38:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lO168-0006fC-EV for pgsql-committers@lists.postgresql.org; Sun, 21 Mar 2021 16:38:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lO166-0003ZF-0V for pgsql-committers@lists.postgresql.org; Sun, 21 Mar 2021 16:38:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 12LGcZbL383898; Sun, 21 Mar 2021 12:38:35 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Unbreak recovery test on Windows In-reply-to: References: Comments: In-reply-to Andrew Dunstan message dated "Sun, 21 Mar 2021 15:56:45 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <383896.1616344715.1@sss.pgh.pa.us> Date: Sun, 21 Mar 2021 12:38:35 -0400 Message-ID: <383897.1616344715@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > Unbreak recovery test on Windows Hmm, looks like this broke things on other machines. crake and sifaka (so far) are showing # Running: pg_ctl kill KILL 2237831 ok 3 - killed process with KILL ack Broken pipe: write( 13, '\\q ' ) at /usr/share/perl5/vendor_perl/IPC/Run/IO.pm line 549. which looks like a race condition: did we manage to stuff the "\q" command down the pipe before killing the psql process, or not? regards, tom lane