Search Postgresql Archives

Re: Reset permissions on table

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

 



etienne champetier wrote:
> By default there is no permissions on table (\dp return 0 row)
> If I make a GRANT, doing a REVOKE will not get me in the 'default' state
> 
> How to return in the default state, where permission are 'inherited' from owner.

\dp should return a row for each table in
your search_path.

I assume that you are referring to the empty
"Access privileges" column.

After granting and revoking a privilege, the value
showd be "owner=arwdDxt/owner" (where "owner" is
the user that owns the table).

This is the default value: the owner has all
privileges and nobody else has any.

It does not matter if the ACL is left empty
(it contains a NULL value initially) or if
it contains the default explicitly.

Yours,
Laurenz Albe



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[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 Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux