From b04b32a543763a8eade2fa2aad87ac42059f1543 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 15 Apr 2008 20:28:47 +0000 Subject: [PATCH] Revert addition of pg_terminate_backend() because of race conditions. --- doc/TODO | 11 ++++++- doc/src/FAQ/TODO.html | 10 +++++- doc/src/sgml/func.sgml | 17 ++-------- doc/src/sgml/runtime.sgml | 7 ---- src/backend/tcop/postgres.c | 10 +----- src/backend/utils/adt/misc.c | 61 ++++++++--------------------------- src/include/catalog/pg_proc.h | 2 -- src/include/storage/proc.h | 2 -- src/include/utils/builtins.h | 1 - 9 files changed, 36 insertions(+), 85 deletions(-) diff --git a/doc/TODO b/doc/TODO index c174260ca8..36f46113e2 100644 --- a/doc/TODO +++ b/doc/TODO @@ -20,8 +20,17 @@ http://developer.postgresql.org. Administration ============== -* -Allow administrators to safely terminate individual sessions either +* Allow administrators to safely terminate individual sessions either via an SQL function or SIGTERM + + Lock table corruption following SIGTERM of an individual backend + has been reported in 8.0. A possible cause was fixed in 8.1, but + it is unknown whether other problems exist. This item mostly + requires additional testing rather than of writing any new code. + + http://archives.postgresql.org/pgsql-hackers/2006-08/msg00174.php + http://archives.postgresql.org/pgsql-hackers/2007-04/msg00218.php + * Check for unreferenced table files created by transactions that were in-progress when the server terminated abruptly diff --git a/doc/src/FAQ/TODO.html b/doc/src/FAQ/TODO.html index 59ac9949fe..6872320c74 100644 --- a/doc/src/FAQ/TODO.html +++ b/doc/src/FAQ/TODO.html @@ -26,8 +26,16 @@ first. There is also a developer's wiki at

Administration