pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: tomas.vondra@postgresql.org
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Unbreak recovery test on Windows
Date: Sun, 21 Mar 2021 14:16:41 -0400
Message-ID: <387848.1616350601@sss.pgh.pa.us> (raw)
In-Reply-To: <5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net>
References: <E1lO0RZ-0004VS-7y@gemulon.postgresql.org>
	<383897.1616344715@sss.pgh.pa.us>
	<5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net>

Andrew Dunstan <andrew@dunslane.net> 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.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <387848.1616350601@sss.pgh.pa.us>
Permalink:  ../387848.1616350601@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/387848.1616350601@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew@dunslane.net, tomas.vondra@postgresql.org
  Subject: Re: pgsql: Unbreak recovery test on Windows
  In-Reply-To: <387848.1616350601@sss.pgh.pa.us>
  References: <E1lO0RZ-0004VS-7y@gemulon.postgresql.org> <383897.1616344715@sss.pgh.pa.us> <5b748470-7335-5439-e876-6a88c951e1c5@dunslane.net> <387848.1616350601@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