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 1hGBej-0008Qf-1h for pgsql-committers@arkaria.postgresql.org; Tue, 16 Apr 2019 00:08:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hGBeg-0007V7-57 for pgsql-committers@arkaria.postgresql.org; Tue, 16 Apr 2019 00:08:54 +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 1hGBef-0007Ud-Mp for pgsql-committers@lists.postgresql.org; Tue, 16 Apr 2019 00:08:53 +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.89) (envelope-from ) id 1hGBec-00034a-JZ for pgsql-committers@lists.postgresql.org; Tue, 16 Apr 2019 00:08:51 +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 x3G08mup026479; Mon, 15 Apr 2019 20:08:48 -0400 From: Tom Lane To: Noah Misch cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Consistently test for in-use shared memory. In-reply-to: References: Comments: In-reply-to Noah Misch message dated "Sat, 13 Apr 2019 05:53:57 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26477.1555373328.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 15 Apr 2019 20:08:48 -0400 Message-ID: <26478.1555373328@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Noah Misch writes: > Consistently test for in-use shared memory. Hmm ... conchuela has just found another problem with this test case: ok 2 - detected live backend via shared memory # Running: postgres --single -D /home/pgbf/buildroot/HEAD/pgsql.build/src/= test/recovery/tmp_check/t_017_shm_gnat_data/pgdata template1 ack Broken pipe: write( 16, 'SELECT 1 + 1' ) at /usr/local/lib/perl5/site_= perl/IPC/Run/IO.pm line 549. I interpret this as "the single-user backend exited before we could stuff 'SELECT 1 + 1' down the pipe to it, and the Perl script is not expecting to get a write failure there". regards, tom lane