Make has_sequence_privilege support WITH GRANT OPTION

Enterprise / PostgreSQL - Joe Conway [joeconway.com] - 26 November 2017 17:49 EST

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

752714dd9d Make has_sequence_privilege support WITH GRANT OPTION
src/backend/utils/adt/acl.c | 3 +++
1 file changed, 3 insertions(+)

Upstream: git.postgresql.org


  • Share