Re: Creating a Read Only profile in 8.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Creating a Read Only profile in 8.4
Дата
Msg-id 11689.1339163954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Creating a Read Only profile in 8.4  ("Della-Croce, Gregory" <Greg_Della-Croce@wycliffe.org>)
Ответы Re: Creating a Read Only profile in 8.4
Список pgsql-admin
"Della-Croce, Gregory" <Greg_Della-Croce@wycliffe.org> writes:
> I am new at the Postgres DBA - Admin stuff.   So when asked to create a read only profile for our database in
Postgres8.4 I did the following: 
> *         create role RO_User password 'xxxxxxxxxxx' NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN;

> *         select 'grant select on ' || tablename || ' to \"RO_User\"; 'from pg_tables where schemaname = 'public';

Uh, that only printed the GRANT commands you needed, it didn't execute
them.

            regards, tom lane

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

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: Creating a Read Only profile in 8.4
Следующее
От: "ROMAIN, ERICKA W CTR DISA PEO-MA"
Дата:
Сообщение: How To Change Password Hash Algorithm From MD5 to SHA-256