GRANT SELECT on all the partitions?

Поиск
Список
Период
Сортировка
От Sergey Samokhin
Тема GRANT SELECT on all the partitions?
Дата
Msg-id e42595410909260852l211e86f2y44dca4fcacc16935@mail.gmail.com
обсуждение исходный текст
Ответы Re: GRANT SELECT on all the partitions?
Список pgsql-novice
Hello.

Suppose that I have created a few dozens of partitions which all
inherit from a single master table. Is there a way to GRANT SELECT on
all these child tables by using a single SQL command? Having to issue
a few dozens of similar but different GRANTs makes me tremble.

Something like the followind pseudocode could be the solution:

GRANT SELECT ON TABLES INHERITED FROM master_table;

How do people manage their batch of partitions?

--
Sergey Samokhin

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