Add the support for '-f' option in dropdb utility.
Amit Kapila <akapila@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/dropdb.sgml | modified | +12 −0 |
| src/bin/scripts/dropdb.c | modified | +11 −3 |
| src/bin/scripts/t/050_dropdb.pl | modified | +7 −1 |
Documentation touched
Discussion
- dropdb --force 136 messages · 2018-12-18 → 2020-02-01