From: Thomas Beutin <tyrone@laokoon.IN-Berlin.DE>
To: Jose Antonio Martinez <lfbbes@yahoo.es>
Cc: pgsql-general@postgresql.org
Subject: Re: max connections
Date: Thu, 20 Feb 2003 19:14:48 +0100
Message-ID: <20030220191448.B16069@laokoon.bug.net> (raw)
In-Reply-To: <20030220175652.96159.qmail@web21107.mail.yahoo.com>
References: <20030220183107.A16069@laokoon.bug.net>
<20030220175652.96159.qmail@web21107.mail.yahoo.com>
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.
Oops... sorry. I think there is no way. Maybe Your connection
pool can do this?
So long,
-tb
> --- Thomas Beutin <tyrone@laokoon.IN-Berlin.DE>
> escribió: > 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)?
> > >
> > > is there any easy way?
> > command line: "-N x"
> > config file: "max_connections = x"
> >
> > It's all explained in the very good documentation.
> >
> > So long,
> > -tb
--
Thomas Beutin tb@laokoon.IN-Berlin.DE
Beam me up, Scotty. There is no intelligent live down in Redmond.
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-general@postgresql.org
Cc: tyrone@laokoon.IN-Berlin.DE, lfbbes@yahoo.es
Subject: Re: max connections
In-Reply-To: <20030220191448.B16069@laokoon.bug.net>
References: <20030220183107.A16069@laokoon.bug.net> <20030220175652.96159.qmail@web21107.mail.yahoo.com> <20030220191448.B16069@laokoon.bug.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