Re: [ADMIN] changing privleges in pg_user/shadow

Поиск
Список
Период
Сортировка
От Karl DeBisschop
Тема Re: [ADMIN] changing privleges in pg_user/shadow
Дата
Msg-id 200002101853.NAA04805@skillet.infoplease.com
обсуждение исходный текст
Ответ на changing privleges in pg_user/shadow  ("mike focosi" <mike@goldendome.com>)
Список pgsql-admin
>i am wondering if it is possible to change the attributes in pg_user and
>pg_shadow for a paticular user. i can't seem to find any documentation on
>'updating' users other than createuser and dropuser. is it possible to
>change the users' attributes? for example could this doesn't seem to work:
>
>mydb=>update pg_user set usecreatedb = 'f' where usename = 'mike';

pg_user is anon-updatable view.

If you are a superuser, however, you can update pg_shadow.

--
Karl DeBisschop <kdebisschop@alert.infoplease.com>
617.832.0332 (Fax: 617.956.2696)

Information Please - your source for FREE online reference
http://www.infoplease.com  - Your Ultimate Fact Finder
http://kids.infoplease.com - The Great Homework Helper

Netsaint Plugins Development
http://netsaintplug.sourceforge.net

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

Предыдущее
От: "mike focosi"
Дата:
Сообщение: changing privleges in pg_user/shadow
Следующее
От: "mike focosi"
Дата:
Сообщение: Re: [ADMIN] changing privleges in pg_user/shadow