grant select on database demo to user

Поиск
Список
Период
Сортировка
От Bryce Nesbitt
Тема grant select on database demo to user
Дата
Msg-id 44582466.7010303@obviously.com
обсуждение исходный текст
Ответы Re: grant select on database demo to user  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-sql
I find myself with long lists of tables
 grant select on xx_tax to user; grant select on xx_trip to user; grant select on xx_foo to user;

Is there a way to grant to all tables, with a single grant?  I know how
to do it in mysql, but not postgres.  As close as I get it:

#grant select on database demo to user
ERROR:  invalid privilege type SELECT for database

-- 
----
Visit http://www.obviously.com/




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: plan should not reference subplan's variable
Следующее
От: Thusitha Kodikara
Дата:
Сообщение: Re: grant select on database demo to user