pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Kenji Morishige <kenjim@juniper.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: limiting number of connections from specific host or by user
Date: Wed, 10 May 2006 13:57:24 -0600
Message-ID: <20060510195724.GA27845@winnie.fuhr.org> (raw)
In-Reply-To: <20060510190646.GA12986@juniper.net>
References: <20060510190646.GA12986@juniper.net>

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



view thread (3+ messages)  latest in thread

Message-ID: <20060510195724.GA27845@winnie.fuhr.org>
Permalink:  ../20060510195724.GA27845@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20060510195724.GA27845@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, kenjim@juniper.net
  Subject: Re: limiting number of connections from specific host or by user
  In-Reply-To: <20060510195724.GA27845@winnie.fuhr.org>
  References: <20060510190646.GA12986@juniper.net> <20060510195724.GA27845@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox