Re: manipuliation the pg_shadow table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: manipuliation the pg_shadow table
Дата
Msg-id 2232.1037398452@sss.pgh.pa.us
обсуждение исходный текст
Ответ на manipuliation the pg_shadow table  ("Bob Powell" <Bob@hotchkiss.org>)
Список pgsql-general
"Bob Powell" <Bob@hotchkiss.org> writes:
> Can anyone tell me if it is a problem to use the update command to change colunm values in the pg_shadow table?
> UPDATE pg_shadow SET usesuper = 't' where usename = 'bob'
> makes bob a superuser.  Is this kind of thing OK?  Thanks.

You can get away with it, but it's probably better to use ALTER USER.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Installing PostgreSQL on HPUX 11i (with TCL) -- how does one do it
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Error in SELECT clause with UPPER function