Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id C4EDD6332A8 for ; Tue, 20 Apr 2010 10:31:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 06899-04 for ; Tue, 20 Apr 2010 13:31:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 0CD236330DB for ; Tue, 20 Apr 2010 10:31:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o3KDVKhG025671; Tue, 20 Apr 2010 09:31:20 -0400 (EDT) To: Scott Marlowe cc: Josh Kupershmidt , Sergey Konoplev , Steph L , pgsql-admin@postgresql.org Subject: Re: How to disconnect a single user in Postgresql 8.2.5 from a database In-reply-to: References: <480516.98593.qm@web28311.mail.ukl.yahoo.com> <15823.1271729409@sss.pgh.pa.us> Comments: In-reply-to Scott Marlowe message dated "Mon, 19 Apr 2010 21:07:00 -0600" Date: Tue, 20 Apr 2010 09:31:20 -0400 Message-ID: <25670.1271770280@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.114 tagged_above=-10 required=5 tests=AWL=-0.204, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/270 X-Sequence-Number: 34364 Scott Marlowe writes: > On Mon, Apr 19, 2010 at 8:10 PM, Tom Lane wrote: >> The reason the function isn't there before 8.4 is that that's not >> promised to work before 8.4 ... most of the time it will work, but >> once in awhile you could get nasty side-effects. > So, pg_cancel_backend(pid) is the 8.3 version, that may or may not > always work then, right? No, I didn't say that. regards, tom lane