Skip site navigation (1) Skip section navigation (2)

Limiting number of connections to PostgreSQL per IP (not per DB/user)?

From: Heiko Wundram <modelnine(at)modelnine(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Limiting number of connections to PostgreSQL per IP (not per DB/user)?
Date: 2011-11-29 13:49:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general

Sorry for that subscribe post I've just sent, that was bad reading on my 
part (for the subscribe info on the homepage).

Anyway, the title says it all: is there any possibility to limit the 
number of connections that a client can have concurrently with a 
PostgreSQL-Server with "on-board" means (where I can't influence which 
user/database the clients use, rather, the clients mostly all use the 
same user/database, and I want to make sure that a single client which 
runs amok doesn't kill connectivity for other clients)? I could surely 
implement this with a proxy sitting in front of the server, but I'd 
rather implement this with PostgreSQL directly.

I'm using (and need to stick with) PostgreSQL 8.3 because of the 
frontend software in question.

Thanks for any hints!

--- Heiko.


pgsql-general by date

Next:From: Pavel StehuleDate: 2011-11-29 13:59:57
Subject: Re: PLPGSQL: How can I get the effected rows when use "execute" command in function
Previous:From: Andy ChambersDate: 2011-11-29 13:28:24
Subject: immutable functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group