Force client disconnect using PostgreSQL

前端 未结 6 1116
轮回少年
轮回少年 2020-12-25 11:33

Is there a way to force clients to disconnect from PostgreSQL? I\'m looking for the equivlent of DB2\'s force application all.

I\'d like to do this on my development

6条回答
  •  情书的邮戳
    2020-12-25 11:48

    I found this thread on the mailing list. It suggests using SIGTERM to cause the clients to disconnect.

    Not as clean as db2 force application all.

提交回复
热议问题