From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add the support for '-f' option in dropdb utility.
Date: Wed, 20 Nov 2019 03:02:15 +0000
Message-ID: <E1iXGFz-0003Jb-W7@gemulon.postgresql.org> (raw)
Add the support for '-f' option in dropdb utility.
Specifying '-f' will add the 'force' option to the DROP DATABASE command
sent to the server. This will try to terminate all existing connections
to the target database before dropping it.
Author: Pavel Stehule
Reviewed-by: Vignesh C and Amit Kapila
Discussion: https://postgr.es/m/CAP_rwwmLJJbn70vLOZFpxGw3XD7nLB_7+NKz46H5EOO2k5H7OQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/80e05a088e4edd421c9c0374d54d787c8a4c0d86
Modified Files
--------------
doc/src/sgml/ref/dropdb.sgml | 12 ++++++++++++
src/bin/scripts/dropdb.c | 14 +++++++++++---
src/bin/scripts/t/050_dropdb.pl | 8 +++++++-
3 files changed, 30 insertions(+), 4 deletions(-)
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 the support for '-f' option in dropdb utility.
In-Reply-To: <E1iXGFz-0003Jb-W7@gemulon.postgresql.org>
References: <E1iXGFz-0003Jb-W7@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