Re: Question: CREATE EXTENSION and create schema permission?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question: CREATE EXTENSION and create schema permission?
Дата
Msg-id 14652.1314150930@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Question: CREATE EXTENSION and create schema permission?  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Список pgsql-hackers
Kohei KaiGai <kaigai@kaigai.gr.jp> writes:
> The attached patch adds permission check at the scenario that I
> explained bellow.

Instead of using this patch, I changed the code to call
CreateSchemaCommand itself.  The test that was still missing was the one
to restrict the schema name to not start with "pg_".  It seemed to me
that if we were treating this as a basically nonprivileged schema
creation operation, that rule ought to be enforced too, as well as any
other restrictions that we might someday add to CREATE SCHEMA execution.
        regards, tom lane


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

Предыдущее
От: Sushant Sinha
Дата:
Сообщение: Re: text search: restricting the number of parsed words in headline generation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: text search: restricting the number of parsed words in headline generation