Re: Grant CREATE privilege on all schemas - Mailing list pgsql-novice

From Tom Lane
Subject Re: Grant CREATE privilege on all schemas
Date
Msg-id 2712774.1694484281@sss.pgh.pa.us
Whole thread Raw
In response to Grant CREATE privilege on all schemas  (ivanov17@riseup.net)
Responses Re: Grant CREATE privilege on all schemas
List pgsql-novice
ivanov17@riseup.net writes:
> Is there a way to grant roles CREATE
> privileges on all schemas?

This is not supported, and it's not likely to ever become supported
in exactly the way you phrased it, because that would presumably
include CREATE on the pg_catalog schema.  If you give somebody
that, you might as well just skip the fooling around and give them
full superuser, because they could hack their way to that in less
time than it's taking me to type this email.  In general, you
want to be pretty darn chary about giving out permissions on
schemas that are likely to be in other users' search_path, for
much the same reasons that you don't give random users write
permission on /usr/bin/.

            regards, tom lane



pgsql-novice by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Grant CREATE privilege on all schemas
Next
From: Nature Conservation Geovista Space
Date:
Subject: Re: Even if I have a lot of free space PgSQL returns "ERROR: could not extend file - No space left on device"