X-Original-To: pgsql-general@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B6E07475C2B for ; Thu, 20 Feb 2003 13:35:06 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 60952-02 for ; Thu, 20 Feb 2003 13:34:56 -0500 (EST) Received: from hirsch.in-berlin.de (hirsch.in-berlin.de [192.109.42.6]) by postgresql.org (Postfix) with ESMTP id 6EE25475B07 for ; Thu, 20 Feb 2003 13:20:07 -0500 (EST) Received: from hirsch.in-berlin.de (localhost [127.0.0.1]) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id h1KIK6I7016307 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Thu, 20 Feb 2003 19:20:07 +0100 Received: (from uucp@localhost) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with UUCP id h1KIK6iO016305; Thu, 20 Feb 2003 19:20:06 +0100 X-Envelope-From: tyrone@laokoon.IN-Berlin.DE X-Envelope-To: pgsql-general@postgresql.org Received: (from tyrone@localhost) by laokoon.bug.net (8.9.3/8.9.3) id TAA02946; Thu, 20 Feb 2003 19:14:48 +0100 Date: Thu, 20 Feb 2003 19:14:48 +0100 From: Thomas Beutin To: Jose Antonio Martinez Cc: pgsql-general@postgresql.org Subject: Re: max connections Message-ID: <20030220191448.B16069@laokoon.bug.net> References: <20030220183107.A16069@laokoon.bug.net> <20030220175652.96159.qmail@web21107.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030220175652.96159.qmail@web21107.mail.yahoo.com>; from lfbbes@yahoo.es on Thu, Feb 20, 2003 at 06:56:52PM +0100 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/1243 X-Sequence-Number: 37997 On Thu, Feb 20, 2003 at 06:56:52PM +0100, Jose Antonio Martinez wrote: > yes, i know that max_connections limit the number of > connections to the postgresql server, but it is a > global limit for all the databases which are in the > server. I am looking for a way of configuring > postgresql for limiting connections per database at a > shared database server enviroment. In mysql it is easy > becouse there are a parameter for it.=20 Oops... sorry. I think there is no way. Maybe Your connection pool can do this? So long, -tb > --- Thomas Beutin > escribi=F3: > On Thu, Feb 20, 2003 at 04:17:33PM +0100, > Jose > > Antonio Martinez wrote: > > > how can i limit the number of concurrent > > connections > > > to the same database at a postgresql server (wich > > > have several databases)? > > >=20 > > > is there any easy way?=20 > > command line: "-N x" > > config file: "max_connections =3D x" > >=20 > > It's all explained in the very good documentation. > >=20 > > So long, > > -tb --=20 Thomas Beutin tb@laokoon.IN-Berlin.DE Beam me up, Scotty. There is no intelligent live down in Redmond.