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 1lO2sR-00030e-BR for pgsql-committers@arkaria.postgresql.org; Sun, 21 Mar 2021 18:32:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lO2sQ-00009C-9N for pgsql-committers@arkaria.postgresql.org; Sun, 21 Mar 2021 18:32:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lO2sQ-000090-3b for pgsql-committers@lists.postgresql.org; Sun, 21 Mar 2021 18:32:38 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lO2sM-0007ov-1O for pgsql-committers@lists.postgresql.org; Sun, 21 Mar 2021 18:32:37 +0000 X-Originating-IP: 99.10.92.30 Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net [99.10.92.30]) (Authenticated sender: adsend@dunslane.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 79D032000C; Sun, 21 Mar 2021 18:32:29 +0000 (UTC) Subject: Re: pgsql: Unbreak recovery test on Windows To: Tom Lane Cc: tomas.vondra@postgresql.org, pgsql-committers@lists.postgresql.org References: <383897.1616344715@sss.pgh.pa.us> <5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net> <387848.1616350601@sss.pgh.pa.us> From: Andrew Dunstan Message-ID: <65507be5-4e1f-38b5-bfda-3ce8b988dfc5@dunslane.net> Date: Sun, 21 Mar 2021 14:32:28 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <387848.1616350601@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/21/21 2:16 PM, Tom Lane wrote: > Andrew Dunstan writes: >> Ugh.  Is there any reason we need to do those kills before we end the >> psql processes? If not I'm tempted just to move them - after the psql's >> are finished it should be safe. At any rate I'll go and test that. > IIUC, that'd completely destroy the point of the test, which is to make > sure we clean up when a backend dies unexpectedly. If we allow the > psql's to exit then the backend might be able to complete normal cleanup > before we can SIGKILL it. > > Probably the best thing for now is to revert your change and instead > just skip the whole test script on Windows. > > OK, will do that. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com