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:22
Message-ID: E1eJ16M-0007e2-KR@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_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/69e5b1e9ccd77dae2c8f2f1c684d8cb4826d99e9

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

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2017-11-26 18:45:33 Re: pgsql: Generational memory allocator
Previous Message Joe Conway 2017-11-26 17:52:20 pgsql: Make has_sequence_privilege support WITH GRANT OPTION