pgsql: Merge similar algorithms into roles_is_member_of().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Merge similar algorithms into roles_is_member_of().
Date: 2021-03-26 18:00:22
Message-ID: E1lPqkw-0000qH-Og@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2021-03-26 21:59:27 pgsql: Fix ndistinct estimates with system attributes
Previous Message Tomas Vondra 2021-03-26 15:53:38 pgsql: Fix alignment in BRIN minmax-multi deserialization