pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vibhor Kumar <vibhor.aim@gmail.com>
To: Lukas@fmf.vtu.lt
Cc: pgsql-admin@postgresql.org
Subject: Re: Connection limit per user
Date: Thu, 19 Mar 2009 21:12:09 +0530
Message-ID: <49C267D1.5040909@gmail.com> (raw)
In-Reply-To: <7844.217.117.29.29.1237475481.squirrel@fmf.vgtu.lt>
References: <7844.217.117.29.29.1237475481.squirrel@fmf.vgtu.lt>

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
>
>
>
>   




view thread (2+ messages)

Message-ID: <49C267D1.5040909@gmail.com>
Permalink:  ../49C267D1.5040909@gmail.com/
Also on:    postgresql.org/message-id/49C267D1.5040909@gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: vibhor.aim@gmail.com, Lukas@fmf.vtu.lt
  Subject: Re: Connection limit per user
  In-Reply-To: <49C267D1.5040909@gmail.com>

* 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