GRANTS table question

Moderator: NorbertKrupa

Post Reply
User avatar
becky
Intermediate
Intermediate
Posts: 118
Joined: Sat Apr 28, 2012 11:37 am

GRANTS table question

Post by becky » Wed Aug 22, 2012 3:49 pm

Hi all,

Does anyone know what the asterisks mean in the PRIVILEGES_DESCRIPTION column when I select from the GRANTS table?

Example:

Code: Select all

dbadmin=> select * from grants where object_name = 'building_1';
 grantor |             privileges_description              | object_schema | object_name | grantee
---------+-------------------------------------------------+---------------+-------------+---------
 dbadmin | INSERT*, SELECT*, UPDATE*, DELETE*, REFERENCES* | vertica01     | building_1  | dbadmin
 dbadmin | SELECT                                          | vertica01     | building_1  | becky
(2 rows)
THANKS - BECKSTER

scutter
Master
Master
Posts: 302
Joined: Tue Aug 07, 2012 2:15 am

Re: GRANTS table question

Post by scutter » Fri Aug 24, 2012 12:30 am

The *s mean it was granted with GRANT OPTION.
Sharon Cutter
Vertica Consultant, Zazz Technologies LLC

User avatar
becky
Intermediate
Intermediate
Posts: 118
Joined: Sat Apr 28, 2012 11:37 am

Re: GRANTS table question

Post by becky » Fri Aug 24, 2012 1:05 pm

Thank you!
THANKS - BECKSTER

Post Reply

Return to “New to Vertica Database Administration”