Re: Temporarily suspend a user account?

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: Temporarily suspend a user account?
Дата
Msg-id 1423257492415-5836987.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Temporarily suspend a user account?  (Melvin Davidson <melvin6925@gmail.com>)
Список pgsql-general
> I would prefer not to revoke login privileges since that will break things
> that mine pg_users and pg_shadow.
> Melvin Davidson-5 wrote
>> Possibly,
>>
>> To disble:
>> ALTER USER name RENAME TO xname;
>>
>> To enable
>> ALTER USER xname RENAME TO name;

Given that removing login privileges is a no-go this doesn't seem like an
acceptable solution for the OP.  Its unclear exactly what catalog data is
being used but likely the role name is an important one.

David J.




--
View this message in context: http://postgresql.nabble.com/Temporarily-suspend-a-user-account-tp5836978p5836987.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: David G Johnston
Дата:
Сообщение: Re: Temporarily suspend a user account?
Следующее
От: Michael Nolan
Дата:
Сообщение: Re: Temporarily suspend a user account?