Make has_sequence_privilege support WITH GRANT OPTION

Joe Conway <mail@joeconway.com>

Commit: 69e5b1e9ccd77dae2c8f2f1c684d8cb4826d99e9
Author: Joe Conway <mail@joeconway.com>
Date: 2017-11-26T17:50:53Z
Releases: 9.3.21
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

Files

PathChange+/−
src/backend/utils/adt/acl.c modified +3 −0

Discussion