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: [email protected]
Views: Whole Thread | Raw Message | 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/[email protected]

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