| From: | Amit Kapila <akapila(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add the support for '-f' option in dropdb utility. |
| Date: | 2019-11-20 03:02:15 |
| Message-ID: | [email protected] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2019-11-20 05:32:28 | pgsql: Handle ReadFile() EOF correctly on Windows. |
| Previous Message | Tatsuo Ishii | 2019-11-20 00:15:35 | pgsql: Doc: fix minor typo in func.sgml. |