Received: from s1.servlets.net (s1.servlets.net [209.221.135.4]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f549E8E16965; Mon, 4 Jun 2001 05:14:08 -0400 (EDT) (envelope-from tauren@servlets.net) Received: from yowza2 (dsl-208-161-103-15.easystreet.com [208.161.103.15]) by s1.servlets.net (8.9.3/8.9.3) with SMTP id CAA19197; Mon, 4 Jun 2001 02:14:05 -0700 From: "Tauren Mills" To: , Subject: Limiting simultaneous connections Date: Mon, 4 Jun 2001 02:16:33 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Archive-Number: 200106/7 X-Sequence-Number: 1543 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