Stuart Bishop <[EMAIL PROTECTED]> writes: > After a test is run, the test harness kills any outstanding connections so > we can drop the test database. Without this, a failing test could leave open > connections dangling causing the drop database to block.
Just to make it perfectly clear: we don't consider SIGTERMing individual backends to be a supported operation (maybe someday, but not today). That's why you had to resort to plpythonu to do this. I hope you don't have anything analogous in your production databases ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate