Allow a user to kill his own queries using pg_cancel_backend()
Magnus Hagander <magnus@hagander.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +10 −3 |
| src/backend/utils/adt/misc.c | modified | +70 −10 |