pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Consistently test for in-use shared memory.
Date: Mon, 15 Apr 2019 20:08:48 -0400
Message-ID: <26478.1555373328@sss.pgh.pa.us> (raw)
In-Reply-To: <E1hFBbx-0002OI-Pb@gemulon.postgresql.org>
References: <E1hFBbx-0002OI-Pb@gemulon.postgresql.org>

Noah Misch <noah@leadboat.com> 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





view thread (19+ messages)  latest in thread

Message-ID: <26478.1555373328@sss.pgh.pa.us>
Permalink:  ../26478.1555373328@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26478.1555373328@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, noah@leadboat.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Consistently test for in-use shared memory.
  In-Reply-To: <26478.1555373328@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox