Re: information_schema.role_table_grants differs from relacl

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

 



"Jan-Peter Seifert" <Jan-Peter.Seifert@xxxxxx> writes:
> there seems to be a difference between information_schema and pg_catalog when it comes to privileges.

> pg_class and pgAdmin III show ACL = arwdDxt

> pgAdmin III displays this as:
> GRANT ALL ON TABLE blabla.tabelle TO benutzer;

> However, information_schema.role_table_grants has is_grantable = YES for every privilege_type on this view for the user in question.

> The user is owner of the view and also superuser.

> So my question is: is is_grantable not the same as 'WITH GRANT OPTION'?

An object's owner always has all grant options.  By convention, this
isn't explicitly represented in the acl array; rather it's hard-wired
into the backend code behavior.  There is some info about how to read
acl values in the Notes section of the GRANT reference page.

			regards, tom lane

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux