pgsql: Rename session_auth_is_superuser to current_role_is_superuser.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename session_auth_is_superuser to current_role_is_superuser.
Date: 2023-07-13 04:32:17
Message-ID: E1qJo00-0007UH-RY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename session_auth_is_superuser to current_role_is_superuser.

This variable might've been accurately named when it was added in
ea886339b8, but the name hasn't been accurate since at least the
introduction of SET ROLE in e5d6b91220. The corresponding
documentation was fixed in eedb068c0a. This commit renames the
variable accordingly.

Suggested-by: Joseph Koshakow
Discussion: https://postgr.es/m/CAAvxfHc-HHzONQ2oXdvhFF9ayRnidPwK%2BfVBhRzaBWYYLVQL-g%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0fef8775382886bef023aee67cb744711ed7a32f

Modified Files
--------------
src/backend/access/transam/parallel.c | 2 +-
src/backend/utils/misc/guc_tables.c | 9 ++++++---
src/include/utils/guc.h | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2023-07-13 06:05:47 pgsql: Doc: clarify the conditions of usable indexes for REPLICA IDENTI
Previous Message Tom Lane 2023-07-13 04:08:20 Re: pgsql: Pass constructName to transformJsonValueExpr()