Add pg_terminate_backend() to allow terminating only a single session.
Bruce Momjian <bruce@momjian.us>
Add pg_terminate_backend() to allow terminating only a single session.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +15 −4 |
| doc/src/sgml/runtime.sgml | modified | +8 −1 |
| src/backend/tcop/postgres.c | modified | +10 −2 |
| src/backend/utils/adt/misc.c | modified | +49 −14 |
| src/include/catalog/pg_proc.h | modified | +3 −1 |
| src/include/storage/proc.h | modified | +3 −1 |
| src/include/utils/builtins.h | modified | +2 −1 |