X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 21A5414B280D for ; Tue, 10 Aug 2004 11:40:57 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07386-03 for ; Tue, 10 Aug 2004 14:40:54 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 2503A14B281F for ; Tue, 10 Aug 2004 11:40:51 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i7AEeoiG009257 for ; Tue, 10 Aug 2004 14:40:50 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i7AESZl7004752 for pgsql-admin@postgresql.org; Tue, 10 Aug 2004 14:28:35 GMT From: Gaetano Mendola X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Killing Long running query or user session Date: Tue, 10 Aug 2004 16:27:54 +0200 Organization: PYRENET Midi-pyrenees Provider Lines: 18 Message-ID: <4118DB6A.2020802@bigfoot.com> References: <065ed569632b300f0b33223972ec4e12@unlimited.ultrafeed.com> <4118AB80.5030209@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@pyrenet.fr To: David Ecker User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en In-Reply-To: X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/58 X-Sequence-Number: 14453 David Ecker wrote: > Is there a posibilty to kick the session through a sql-statement? NOPE > Another posibility would be to block access to a database for a set of > users/groups using sql only. Is there such a command? You can allow the acces to certain DB to a user and from some IP, I don't know if this can help you and/or if solve your problem. Regards Gaetano Mendola