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(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.