pgsql: Accept 'public' as a pseudo-role name in has_table_privilege() a - Mailing list pgsql-committers

From Itagaki Takahiro
Subject pgsql: Accept 'public' as a pseudo-role name in has_table_privilege() a
Date
Msg-id E1P5u7H-0000Io-Ma@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d0f876ca8ccb7dc8820302543b114014b7bac090

Modified Files
--------------
doc/src/sgml/func.sgml      |    7 +++--
src/backend/utils/adt/acl.c |   62 ++++++++++++++++++++++++++----------------
2 files changed, 42 insertions(+), 27 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove some unnecessary tests of pgstat_track_counts.
Next
From: h-saito@pgfoundry.org (Hiroshi Saito)
Date:
Subject: psqlodbc - psqlodbc: Add the specification of GSSPI option.