Re: wish: limit number of connections per database

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: "bognár, "attila\"" <attila(dot)bognar(at)netalfa(dot)com>
Cc: PostgreSQL hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: wish: limit number of connections per database
Date: 2003-09-10 21:44:33
Message-ID: 1063230273.21803.131.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2003-09-10 at 20:22, "bognár, attila" wrote:

> Would it be possible to set the maximum number of connections to each
> database individually? I need this because the server will be shared
> between several users and I want to avoid that that somebody uses the
> maximum number of connections possible to the server, locking out others.

I assume users shouldn't be allowed to use other users' databases?

If so, why not have a separate postmaster (and a separate database
cluster) for each user? Each one would connect on a different port, and
each one could be separately configured.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Draw near to God and he will draw near to you.
Cleanse your hands, you sinners; and purify your
hearts, you double minded." James 4:8

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2003-09-10 21:57:37 Re: massive quotes?
Previous Message Andreas Pflug 2003-09-10 20:35:18 Re: massive quotes?