Re: deactivate user accounts not used within the last 90 days.

Поиск
Список
Период
Сортировка
От Ron
Тема Re: deactivate user accounts not used within the last 90 days.
Дата
Msg-id 3f8e218a-8894-3321-559a-376000c484e7@gmail.com
обсуждение исходный текст
Ответ на deactivate user accounts not used within the last 90 days.  (Pepe TD Vo <pepevo@yahoo.com>)
Список pgsql-admin
On 12/3/20 2:51 PM, Pepe TD Vo wrote:
Hi


May I know how to deactivate the user account not used within the last days in Postgres?  Is there a function for password lifetime liked Oracle?

https://www.postgresql.org/docs/12/sql-alterrole.html

Look at the VALID UNTIL clause.

--
Angular momentum makes the world go 'round.

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

Предыдущее
От: Pepe TD Vo
Дата:
Сообщение: deactivate user accounts not used within the last 90 days.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Moving a table/index to different tablespace