pgsql: Make has_sequence_privilege support WITH GRANT OPTION

From: Joe Conway <mail(at)joeconway(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make has_sequence_privilege support WITH GRANT OPTION
Date: 2017-11-26 17:52:20
Message-ID: E1eJ16K-0007df-98@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make has_sequence_privilege support WITH GRANT OPTION

The various has_*_privilege() functions all support an optional
WITH GRANT OPTION added to the supported privilege types to test
whether the privilege is held with grant option. That is, all except
has_sequence_privilege() variations. Fix that.

Back-patch to all supported branches.

Discussion: https://postgr.es/m/005147f6-8280-42e9-5a03-dd2c1e4397ef@joeconway.com

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d8d9c97cd118a8411ea238a07c46c4ad22767fab

Modified Files
--------------
src/backend/utils/adt/acl.c | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Joe Conway 2017-11-26 17:52:22 pgsql: Make has_sequence_privilege support WITH GRANT OPTION
Previous Message Joe Conway 2017-11-26 17:52:18 pgsql: Make has_sequence_privilege support WITH GRANT OPTION