has_table_privilege - Mailing list pgsql-admin

From Edwin UY
Subject has_table_privilege
Date
Msg-id CA+wokJ9CPLZYPzTC8tHTDab4nUnERYcqk3W+EsbdOhTc4pNL0A@mail.gmail.com
Whole thread Raw
Responses Re: has_table_privilege
List pgsql-admin

Is there no shortcut alternative to using select has_table_privilegeso it will just check all possible privileges?

select has_table_privilege('user_or_role','table_name','update');
select has_table_privilege('user_or_role','table_name','select,insert'); 

I thought when running  select has_table_privilege('user_or_role','table_name','select,insert,update,delete'); it will enumerate the privilege. Isn't it not supposed to?




pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: debug a lockup
Next
From: Joe Conway
Date:
Subject: Re: has_table_privilege