How to drop a PostgreSQL database if there are active connections to it?
摘要:
1、PostgreSQL 9.1 and below:SELECT pg_terminate_backend(pg_stat_activity.procpid)FROM pg_stat_activityWHERE pg_stat_activity.datname = 'TARGET_DB' AND... 阅读全文
posted @ 2014-11-01 19:30 Still water run deep 阅读(321) 评论(0) 推荐(0) 编辑