Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgFel-000050-H7 for pgsql-admin@arkaria.postgresql.org; Tue, 12 Nov 2013 15:13:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VgFek-0006ig-VX for pgsql-admin@arkaria.postgresql.org; Tue, 12 Nov 2013 15:13:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgFej-0006hA-DJ for pgsql-admin@postgresql.org; Tue, 12 Nov 2013 15:13:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgFeg-0004QZ-91 for pgsql-admin@postgresql.org; Tue, 12 Nov 2013 15:13:28 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id rACFDO17005994; Tue, 12 Nov 2013 10:13:24 -0500 From: Tom Lane To: Scott Marlowe cc: Guillermo Carrasco , "pgsql-admin@postgresql.org" Subject: Re: REVOKE command not working as expected In-reply-to: References: Comments: In-reply-to Scott Marlowe message dated "Tue, 12 Nov 2013 08:01:17 -0700" Date: Tue, 12 Nov 2013 10:13:24 -0500 Message-ID: <5993.1384269204@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Scott Marlowe writes: > On Tue, Nov 12, 2013 at 7:58 AM, Guillermo Carrasco > wrote: >> The problem is that sometimes (apparently random), even after having invoked >> EVOKE CONNECT ON DATABASE \"$DB\" FROM PUBLIC;, when the scripts starts >> dumping, it fails because it says that there are some active connections. > Revoking connection does not disconnect currently connected clients. My money is on autovacuum. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin