]> granicus.if.org Git - postgresql/commit
Make has_sequence_privilege support WITH GRANT OPTION
authorJoe Conway <mail@joeconway.com>
Sun, 26 Nov 2017 17:50:42 +0000 (09:50 -0800)
committerJoe Conway <mail@joeconway.com>
Sun, 26 Nov 2017 17:50:42 +0000 (09:50 -0800)
commitd8d9c97cd118a8411ea238a07c46c4ad22767fab
tree0f389d5983e8f2b57b04b13fa352fc97deb0d58c
parent1601a9413fbfb98370c3299e3c9da514a0331c6d
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