In this post, I am sharing a UDF and using this non-super user can kill their queries. As a PostgreSQL DBA, You may find long running queries or IDLE queries of the user. Many times users also disturb to DBA for killing their queries. In my organisation, we created one function and assigned to all […]