Rename session_auth_is_superuser to current_role_is_superuser.
authorNathan Bossart <nathan@postgresql.org>
Thu, 13 Jul 2023 04:28:54 +0000 (21:28 -0700)
committerNathan Bossart <nathan@postgresql.org>
Thu, 13 Jul 2023 04:28:54 +0000 (21:28 -0700)
commit0fef8775382886bef023aee67cb744711ed7a32f
treefd5a4e8187b064bd75e18e9727e7fcd476e71e53
parent411b720343005597d042fc1736ce9a3a3ee8a1fe
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
src/backend/access/transam/parallel.c
src/backend/utils/misc/guc_tables.c
src/include/utils/guc.h