Re: Question: CREATE EXTENSION and create schema permission? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Question: CREATE EXTENSION and create schema permission?
Date
Msg-id 14652.1314150930@sss.pgh.pa.us
Whole thread Raw
In response to Re: Question: CREATE EXTENSION and create schema permission?  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
List 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 by date:

Previous
From: Sushant Sinha
Date:
Subject: Re: text search: restricting the number of parsed words in headline generation
Next
From: Tom Lane
Date:
Subject: Re: text search: restricting the number of parsed words in headline generation