Skip to content

Commit

Permalink
Drop erratic role checking
Browse files Browse the repository at this point in the history
Config reload gets initiated by the operating system (signal), NOT by a
user/role.
  • Loading branch information
kovmir committed Jul 2, 2024
1 parent 15e11c6 commit e9acc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_show_plans.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ set_state(bool state, void *extra)
* commented out. */
/* shmem_safety_check(); */

if (pgsp != NULL && is_allowed_role())
if (pgsp != NULL)
pgsp->is_enabled = state;
}

Expand Down

0 comments on commit e9acc38

Please sign in to comment.