Re: testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges?
Дата
Msg-id 4BE9C8D6.9040603@agliodbs.com
обсуждение исходный текст
Ответ на testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges?  (Lou Picciano <loupicciano@comcast.net>)
Список pgsql-testers
Lou,

> *[Comments]:* Is this consistent behavior?  Is it necessary to
> explicitly grant privileges to each object in a database?

This is correct, and how it's been for PostgreSQL since at least 7.2.

> We are aware of the new ALTER DEFAULT PRIVILEGES command, but, per docs,
> it only affects  tables (including views), sequences, and functions,
> correct?
> IE, it cannot affect database privileges.

That's correct.  However, it's only necessary to set database priveleges
once.

--
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

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

Предыдущее
От: Lou Picciano
Дата:
Сообщение: testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges?