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+nkz46h5eoo2k5h...@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 via email to