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 1iZcBq-0002Id-Sk for pgsql-committers@arkaria.postgresql.org; Tue, 26 Nov 2019 14:51:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iZcBn-0005iS-S5 for pgsql-committers@arkaria.postgresql.org; Tue, 26 Nov 2019 14:51:39 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iZcBn-0005iL-Kv for pgsql-committers@lists.postgresql.org; Tue, 26 Nov 2019 14:51:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iZcBg-0007mP-8N for pgsql-committers@lists.postgresql.org; Tue, 26 Nov 2019 14:51:38 +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 xAQEpMrs016637; Tue, 26 Nov 2019 09:51:22 -0500 From: Tom Lane To: Andrew Dunstan cc: Michael Paquier , Andrew Dunstan , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Close stdin where it's not needed in TestLib.pm procedures In-reply-to: <5923a6e0-2528-de1b-725d-adbc131e61a4@2ndQuadrant.com> References: <20191126044302.GC5435@paquier.xyz> <29991.1574752430@sss.pgh.pa.us> <20191126084702.GF5435@paquier.xyz> <5923a6e0-2528-de1b-725d-adbc131e61a4@2ndQuadrant.com> Comments: In-reply-to Andrew Dunstan message dated "Tue, 26 Nov 2019 07:51:50 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16635.1574779882.1@sss.pgh.pa.us> Date: Tue, 26 Nov 2019 09:51:22 -0500 Message-ID: <16636.1574779882@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > here's my proposed fix. Looks sane by eyeball (didn't test it). regards, tom lane