Re: Connection limit per user

From: Vibhor Kumar <vibhor(dot)aim(at)gmail(dot)com>
To: Lukas(at)fmf(dot)vtu(dot)lt
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Connection limit per user
Date: 2009-03-19 15:42:09
Message-ID: 49C267D1.5040909@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello Lukas,

You would be able to achieve it using the alter user command as given below:
alter user <user name> with CONNECTION LIMIT 2;

Lukas wrote:
> Hello,
>
> is here any way to set connection limit to database per database user?
> For ex. if I have postgresql database user XXX I want limit it to 2
> connections per database (or per all databases)..
>
>
> --
> Lukas
> UAB nSoft
> http://www.nsoft.lt
> Lukas at nsoft.lt
> +370 655 10 655
>
>
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Vladimir Rusinov 2009-03-19 18:36:00 Re: out of memory
Previous Message Lukas 2009-03-19 15:11:21 Connection limit per user