From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Amit Kapila <akapila@postgresql.org>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add tests for '-f' option in dropdb utility.
Date: Thu, 28 Nov 2019 09:46:09 -0500
Message-ID: <30914.1574952369@sss.pgh.pa.us> (raw)
In-Reply-To: <CAA4eK1LC1mapqzG9N=cFoEyEPMmaUb72f+-EOeVuK4jnEFRyyw@mail.gmail.com>
References: <E1iaD8h-0004us-K9@gemulon.postgresql.org>
<CAA4eK1KO6Ed1+ijUKw3M-KQc6AJZd-3Wkq7zAQA-7T08qBnrTg@mail.gmail.com>
<CAA4eK1LC1mapqzG9N=cFoEyEPMmaUb72f+-EOeVuK4jnEFRyyw@mail.gmail.com>
Amit Kapila <amit.kapila16@gmail.com> writes:
> The message expected by this test was: "FATAL: terminating connection
> due to administrator command" which seems to be fine in most cases but
> not all.
I think the correct question to ask is "why not all cases"?
> I think we just need to change the expected message the same as in
> 013_crash_restart.pl to make this test pass on all platforms.
If DROP FORCE sometimes gives victim sessions the impression that the
server crashed, rather than that they were kicked off intentionally,
I think that's totally unacceptable. "Fixing" this by changing the
test to allow it is not the answer, and if we can't find a better
answer, I'm going to vote to revert the feature.
regards, tom lane
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, amit.kapila16@gmail.com, akapila@postgresql.org, pavel.stehule@gmail.com
Subject: Re: pgsql: Add tests for '-f' option in dropdb utility.
In-Reply-To: <30914.1574952369@sss.pgh.pa.us>
References: <E1iaD8h-0004us-K9@gemulon.postgresql.org> <CAA4eK1KO6Ed1+ijUKw3M-KQc6AJZd-3Wkq7zAQA-7T08qBnrTg@mail.gmail.com> <CAA4eK1LC1mapqzG9N=cFoEyEPMmaUb72f+-EOeVuK4jnEFRyyw@mail.gmail.com> <30914.1574952369@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