Merge similar algorithms into roles_is_member_of().
The next commit would have complicated two or three algorithms, so take
this opportunity to consolidate. No functional changes.
Reviewed by John Naylor.
Discussion: https://postgr.es/m/20201228043148.GA1053024@rfd.leadboat.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f687bf61ed4dc75ec074c387f848147da2097e13
Modified Files
--------------
src/backend/utils/adt/acl.c | 224 ++++++++++++--------------------------------
1 file changed, 59 insertions(+), 165 deletions(-)