pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
max connections per user
2+ messages / 2 participants
[nested] [flat]

* max connections per user
@ 2007-11-12 15:39 beluc.mailing@free.fr
  2007-11-12 16:09 ` Re: max connections per user Carol Walter <walterc@indiana.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: beluc.mailing@free.fr @ 2007-11-12 15:39 UTC (permalink / raw)
  To: pgsql-admin

hi,

i would like to know if it is possible to limit the number of connections per
user.

if postgresql.conf, i just see a "max connections" parameter but it's a global
parameter.

i think i can do this using iptables, but i would be more convenient to do this
in pg.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: max connections per user
  2007-11-12 15:39 max connections per user beluc.mailing@free.fr
@ 2007-11-12 16:09 ` Carol Walter <walterc@indiana.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Carol Walter @ 2007-11-12 16:09 UTC (permalink / raw)
  To: beluc.mailing@free.fr; +Cc: pgsql-admin

Yes, you can use the connection limit parameter when you create or  
alter a user.

Carol
On Nov 12, 2007, at 10:39 AM, beluc.mailing@free.fr wrote:

> hi,
>
> i would like to know if it is possible to limit the number of  
> connections per
> user.
>
> if postgresql.conf, i just see a "max connections" parameter but  
> it's a global
> parameter.
>
> i think i can do this using iptables, but i would be more  
> convenient to do this
> in pg.
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 6: explain analyze is your friend




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-11-12 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-11-12 15:39 max connections per user beluc.mailing@free.fr
2007-11-12 16:09 ` Carol Walter <walterc@indiana.edu>

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