Search Postgresql Archives

Re: privileges oddity

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

 



> 
> What happens if you do?:
> 
> select has_schema_privilege('akanzler', 'zoewang', 'usage');

risk_oltp_prod=# select has_schema_privilege('akanzler', 'zoewang', 'usage');
has_schema_privilege
----------------------
t
(1 row)

> In psql what does
> 
> \ddp
> 
> show?

risk_oltp_prod=# \ddp
                        Default access privileges
    Owner      |  Schema  | Type  |           Access privileges
----------------+----------+-------+----------------------------------------
...
srv_risk       | zoewang  | table | akanzler=r/srv_risk                   +
               |          |       | srv_risk=arwdD/srv_risk
...
(40 rows)


Wondering if there's a code path somewhere that lets the default take precedence???





[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