Re: limits on the number of concurrent DBMS sessions per account

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kevin Tu <kevintu888(at)gmail(dot)com>
Cc: pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: limits on the number of concurrent DBMS sessions per account
Date: 2022-03-04 15:11:50
Message-ID: 3852573.1646406710@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Kevin Tu <kevintu888(at)gmail(dot)com> writes:
> Let's say I have a user userA, does anyone know how to limit the number of
> concurrent sessions for this user?

ALTER USER joe CONNECTION LIMIT 42;

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Kevin Tu 2022-03-04 15:29:39 Re: limits on the number of concurrent DBMS sessions per account
Previous Message Voillequin, Jean-Marc 2022-03-04 15:09:43 RE: unique index with several columns