pgsql: Add the support for '-f' option in dropdb utility. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Add the support for '-f' option in dropdb utility.
Date
Msg-id E1iXGFz-0003Jb-W7@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: pgsql: Doc: fix minor typo in func.sgml.
Next
From: Thomas Munro
Date:
Subject: pgsql: Handle ReadFile() EOF correctly on Windows.