jeremy@xxxxxxxxxxxxxx wrote:bryn@xxxxxxxxxxxx wrote: Guilty as charged. Sorry. I was too focuses on what I wanted to achieve: to stop sessions connected as "r1" killing other sessions connected as "r1". but looking through it, it appears that you revoked permissions to pg_terminate_backend in the postgres database, but then connected as r1 to the play database, where the permissions weren't revoked. You'll have to revoke the permissions in all databases or change it in template1 before creating the new database. Yes… that's exactly it. I just replied to that effect here: before I read this from you. Thanks for your interest in this! |