Client Connections

Lists: pgsql-general
From: Curtis Scheer <Curtis(at)DAYCOS(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Client Connections
Date: 2006-09-14 15:59:09
Message-ID: 031936836C46D611BB1B00508BE7345D04A95BB7@gatekeeper.daycos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Is there a setting to limit the number of database connections per IP
address or client?

Thanks,

Curtis


From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Curtis Scheer <Curtis(at)DAYCOS(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Client Connections
Date: 2006-09-14 16:14:03
Message-ID: 20060914161403.GA59971@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Thu, Sep 14, 2006 at 10:59:09AM -0500, Curtis Scheer wrote:
> Is there a setting to limit the number of database connections per IP
> address or client?

8.1 has per-database and per-user connection limits; see the
CONNECTION LIMIT option of {CREATE,ALTER} {DATABASE,ROLE}.

http://www.postgresql.org/docs/8.1/interactive/sql-createdatabase.html
http://www.postgresql.org/docs/8.1/interactive/sql-alterdatabase.html
http://www.postgresql.org/docs/8.1/interactive/sql-createrole.html
http://www.postgresql.org/docs/8.1/interactive/sql-alterrole.html

--
Michael Fuhr


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Curtis Scheer <Curtis(at)DAYCOS(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Client Connections
Date: 2006-09-14 16:54:23
Message-ID: 4509893F.3030000@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Curtis Scheer wrote:
> Is there a setting to limit the number of database connections per IP
> address or client?

No but you can limit per database as a whole.

Joshua D. Drake

>
>
>
> Thanks,
>
>
>
> Curtis
>
>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/