X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 931CC9FA2CB for ; Wed, 10 May 2006 18:12:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 31970-06 for ; Wed, 10 May 2006 18:12:37 -0300 (ADT) X-Greylist: delayed 02:05:43.095383 by SQLgrey- Received: from colo-dns-ext2.juniper.net (colo-dns-ext2.juniper.net [207.17.137.64]) by postgresql.org (Postfix) with ESMTP id 03D089FA293 for ; Wed, 10 May 2006 18:12:36 -0300 (ADT) Received: from merlot.juniper.net (merlot.juniper.net [172.17.27.10]) by colo-dns-ext2.juniper.net (8.12.3/8.12.3) with ESMTP id k4ALCE1Z019940; Wed, 10 May 2006 14:12:14 -0700 (PDT) (envelope-from kenjim@juniper.net) Received: from kenjim-lnx.juniper.net (kenjim-lnx.juniper.net [172.17.58.60]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id k4ALCA583062; Wed, 10 May 2006 14:12:14 -0700 (PDT) (envelope-from kenjim@juniper.net) Received: from kenjim-lnx.juniper.net (kenjim-lnx.juniper.net [127.0.0.1]) by kenjim-lnx.juniper.net (8.13.4/8.13.4) with ESMTP id k4ALCAlL018421; Wed, 10 May 2006 14:12:10 -0700 Received: (from kenjim@localhost) by kenjim-lnx.juniper.net (8.13.4/8.13.4/Submit) id k4ALC7Hx018420; Wed, 10 May 2006 14:12:07 -0700 Date: Wed, 10 May 2006 14:12:07 -0700 From: Kenji Morishige To: Michael Fuhr Cc: pgsql-admin@postgresql.org, kenjim@juniper.net Subject: Re: limiting number of connections from specific host or by user Message-ID: <20060510211207.GB12986@juniper.net> References: <20060510190646.GA12986@juniper.net> <20060510195724.GA27845@winnie.fuhr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060510195724.GA27845@winnie.fuhr.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/124 X-Sequence-Number: 21656 sweet! Thanks for the great info. We have been planning to upgrade when we find a good window. Thank you! -Kenji On Wed, May 10, 2006 at 01:57:24PM -0600, Michael Fuhr wrote: > On Wed, May 10, 2006 at 12:06:46PM -0700, Kenji Morishige wrote: > > Is there any way from PostgreSQL user authentication or other > > methods to cap connection count by user or by host? > > What version are you running? 8.1 has per-user and per-database > connection limits; search for CONNECTION LIMIT in the following > documentation: > > http://www.postgresql.org/docs/8.1/interactive/sql-alteruser.html > http://www.postgresql.org/docs/8.1/interactive/sql-alterrole.html > http://www.postgresql.org/docs/8.1/interactive/sql-alterdatabase.html > > -- > Michael Fuhr