[PATCH v2] use has_privs_for_role for predefined roles

From: Joshua Brindle <joshua(dot)brindle(at)crunchydata(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Joshua Brindle <joshua(dot)brindle(at)crunchydata(dot)com>
Subject: [PATCH v2] use has_privs_for_role for predefined roles
Date: 2021-10-27 21:13:55
Message-ID: CAGB+Vh4Zv_TvKt2tv3QNS6tUM_F_9icmuj0zjywwcgVi4PAhFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached is an updated version of the patch to replace
is_member_of_role with has_privs_for_role for predefined roles. It
does not remove is_member_of_role from acl.h but it does add a warning
not to use that function for privilege checking.

Please consider this for the upcoming commitfest.

Attachment Content-Type Size
0001-use-has_privs_for_roles-for-predefined-role-checks.patch application/octet-stream 18.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2021-10-27 21:16:34 Re: [PATCH v2] use has_privs_for_role for predefined roles
Previous Message Daniel Gustafsson 2021-10-27 20:42:42 Re: Fix typos in commments (3x repeated lettters)