Accept 'public' as a pseudo-role name in has_table_privilege() and friends
Itagaki Takahiro <itagaki.takahiro@gmail.com>
Accept 'public' as a pseudo-role name in has_table_privilege() and friends to see if a particular privilege has been granted to PUBLIC. The issue was reported by Jim Nasby. Patch by Alvaro Herrera, and reviewed by KaiGai Kohei.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +4 −3 |
| src/backend/utils/adt/acl.c | modified | +38 −24 |