pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedConnection limit per user
2+ messages / 2 participants
[nested] [flat]
* Connection limit per user
@ 2009-03-19 15:11 Lukas <Lukas@fmf.vtu.lt>
2009-03-19 15:42 ` Re: Connection limit per user Vibhor Kumar <vibhor.aim@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Lukas @ 2009-03-19 15:11 UTC (permalink / raw)
To: pgsql-admin
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
--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Connection limit per user
2009-03-19 15:11 Connection limit per user Lukas <Lukas@fmf.vtu.lt>
@ 2009-03-19 15:42 ` Vibhor Kumar <vibhor.aim@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Vibhor Kumar @ 2009-03-19 15:42 UTC (permalink / raw)
To: Lukas@fmf.vtu.lt; +Cc: 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
>
>
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2009-03-19 15:42 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-03-19 15:11 Connection limit per user Lukas <Lukas@fmf.vtu.lt>
2009-03-19 15:42 ` Vibhor Kumar <vibhor.aim@gmail.com>
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