Allow pg_terminate_backend() to be used on backends with matching role.

Robert Haas <rhaas@postgresql.org>

Commit: c60ca19de9ad777c51243605571d1d7606000f08
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-06-26T20:16:52Z
Releases: 9.3.0
Allow pg_terminate_backend() to be used on backends with matching role.

A similar change was made previously for pg_cancel_backend, so now it
all matches again.

Dan Farina, reviewed by Fujii Masao, Noah Misch, and Jeff Davis,
with slight kibitzing on the doc changes by me.

Files

PathChange+/−
doc/src/sgml/func.sgml modified +7 −4
doc/src/sgml/high-availability.sgml modified +9 −7
src/backend/utils/adt/misc.c modified +7 −5