pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add tests for '-f' option in dropdb utility.
Date: Thu, 28 Nov 2019 06:18:55 +0000
Message-ID: <E1iaD8h-0004us-K9@gemulon.postgresql.org> (raw)

Add tests for '-f' option in dropdb utility.

This will test that the force option works when there is an active backend
connected to the database being dropped.

Author: Pavel Stehule and Vignesh C
Reviewed-by: Amit Kapila and Vignesh C
Discussion: https://postgr.es/m/CAP_rwwmLJJbn70vLOZFpxGw3XD7nLB_7+NKz46H5EOO2k5H7OQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8a7e9e9dad56419ff987e5f6baaf411a03c1951a

Modified Files
--------------
src/bin/scripts/t/050_dropdb.pl       |   8 +--
src/bin/scripts/t/051_dropdb_force.pl | 104 ++++++++++++++++++++++++++++++++++
2 files changed, 105 insertions(+), 7 deletions(-)



view thread (10+ messages)  latest in thread

Message-ID: <E1iaD8h-0004us-K9@gemulon.postgresql.org>
Permalink:  ../E1iaD8h-0004us-K9@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iaD8h-0004us-K9@gemulon.postgresql.org

 · 

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: akapila@postgresql.org
  Subject: Re: pgsql: Add tests for '-f' option in dropdb utility.
  In-Reply-To: <E1iaD8h-0004us-K9@gemulon.postgresql.org>
  References: <E1iaD8h-0004us-K9@gemulon.postgresql.org>

* 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