Search Postgresql Archives

Re: Grant all privileges to user on a database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 24, 2023 at 7:52 AM Ron <ronljohnsonjr@xxxxxxxxx> wrote:
On 7/24/23 09:09, Tom Lane wrote:

> GRANT ALL ON SCHEMA public TO public;

I'd have naively expected "GRANT ALL ON SCHEMA public TO public; " to be
taken care of by "GRANT ALL PRIVILEGES ON DATABASE cbdevdb TO cbdevdbadmin;".


I'm quite happy that such a command doesn't go ahead and grant read, write, and execute privileges on every table, function, and view in the database.

The thing that does what you describe is called SUPERUSER.

David J.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux