Deactivate/disable User id in Postgres

Поиск
Список
Период
Сортировка
От Rajin Raj
Тема Deactivate/disable User id in Postgres
Дата
Msg-id CAOasRJb7gKDZMjfVAmh2Bg4hGfm_=qoE8LvJimhY7mATbN=pmA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Deactivate/disable User id in Postgres  (John Scalia <jayknowsunix@gmail.com>)
Re: Deactivate/disable User id in Postgres  (Rui DeSousa <rui@crazybean.net>)
Список pgsql-admin
Hi,

Is there any option to deactivate/disable a user id in Postgres?
I can think of below two options, 

ALTER USER <user_id> WITH CONNECTION LIMIT 0;
ALTER USER <user_id> WITH NOLOGIN

Is there any better approach? 

Regards,
Rajin 

В списке pgsql-admin по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: psql copy filename path wildcard
Следующее
От: John Scalia
Дата:
Сообщение: Re: Deactivate/disable User id in Postgres