Make has_sequence_privilege support WITH GRANT OPTION
authorJoe Conway <mail@joeconway.com>
Sun, 26 Nov 2017 17:50:00 +0000 (09:50 -0800)
committerJoe Conway <mail@joeconway.com>
Sun, 26 Nov 2017 17:50:00 +0000 (09:50 -0800)
commit9e051b6746c248958d4497be43db7cb9023388f7
treea03342255c373a6339cbabe5c94b5a5a7e72aa99
parent7b0cb5eccdc9f4eb9a52b1d5c9815a7a5161a9fa
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
src/backend/utils/adt/acl.c