pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tauren Mills <tauren@servlets.net>
To: pgsql-general@postgresql.org
To: pgsql-admin@postgresql.org
Subject: Limiting simultaneous connections
Date: Mon, 4 Jun 2001 02:16:33 -0700
Message-ID: <NBBBLBKDJMGDNPMDGAABMEKKADAB.tauren@servlets.net> (raw)

Is there a way to limit the number of simultaneous connections that any
given username can make to the database?  For instance, I'd like user1 to be
able to have no more than 5 simultaneous connections to the database server,
but user2 can have 15 simultaneous connections.

Also, can these connections be limited on a per user for the entire database
server basis?  Or can they be limited on a per user per database basis?  By
this I mean, can a user create up to 5 connections to one of their databases
and then another 5 to one of their other databases (total of 10 connections
across the whole database server).  Or can they be limited to a total of 5
for any connections to any of their databases?

I will be using either 7.1.1 from RPM or 7.1.2 from source on Red Hat Linux
6.2 and 7.1.

Thanks!
Tauren






view thread (6+ messages)  latest in thread

Message-ID: <NBBBLBKDJMGDNPMDGAABMEKKADAB.tauren@servlets.net>
Permalink:  ../NBBBLBKDJMGDNPMDGAABMEKKADAB.tauren@servlets.net/
Also on:    postgresql.org/message-id/NBBBLBKDJMGDNPMDGAABMEKKADAB.tauren@servlets.net

 · 

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: tauren@servlets.net, pgsql-general@postgresql.org
  Subject: Re: Limiting simultaneous connections
  In-Reply-To: <NBBBLBKDJMGDNPMDGAABMEKKADAB.tauren@servlets.net>
  References: <NBBBLBKDJMGDNPMDGAABMEKKADAB.tauren@servlets.net>

* 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