GRANT on database

Поиск
Список
Период
Сортировка
От Boulat Khakimov
Тема GRANT on database
Дата
Msg-id 3AA3DB29.8E68038C@inet-interactif.com
обсуждение исходный текст
Ответы Re: GRANT on database
Список pgsql-general
Hi,

How do I grant all on database TO PUBLIC?
Without having to go through each table in that database?

Basically I have created a databases as one user, and I want another
user
to be able to access all tables in that database. However
when i run simple query like "SELECT * from tablename"  as that "other
user"
it gives me (ERROR:  tablename: Permission denied).

GRANT doesnt let you grant access to the entire databases , only tables.
and since I have over 30 tables in my DB goin through each table and
setting
permissions by hand is too time consuming.



Regards,
Boulat.



--
Nothing Like the Sun

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

Предыдущее
От: Samuel Sieb
Дата:
Сообщение: Re: Re: With which user Apache accesses PostgreSQL
Следующее
От: will trillich
Дата:
Сообщение: Re: GRANT on database