]> granicus.if.org Git - postgresql/commit
Allow a user to kill his own queries using pg_cancel_backend()
authorMagnus Hagander <magnus@hagander.net>
Sun, 15 Jan 2012 14:34:40 +0000 (15:34 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 15 Jan 2012 14:34:40 +0000 (15:34 +0100)
commit0495aaad8b337642830a4d4e82f8b8c02b27b1be
tree599c5404822f9202b98e9f9809d06b3944b6df98
parent652300f5392f2d951b368c38f1cf123003e5e21e
Allow a user to kill his own queries using pg_cancel_backend()

Allows a user to use pg_cancel_queries() to cancel queries in
other backends if they are running under the same role.
pg_terminate_backend() still requires superuser permissoins.

Short patch, many authors working on the bikeshed: Magnus Hagander,
Josh Kupershmidt, Edward Muller, Greg Smith.
doc/src/sgml/func.sgml
src/backend/utils/adt/misc.c