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:11
Message-ID: E1eJ16B-0007cB-KU@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/752714dd9de3d1b919d582ddaac96425a6cfa66d

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:13 pgsql: Make has_sequence_privilege support WITH GRANT OPTION
Previous Message Tom Lane 2017-11-26 17:46:46 Re: pgsql: Generational memory allocator