Skip to content

Commit e9acc38

Browse files
committed
Drop erratic role checking
Config reload gets initiated by the operating system (signal), NOT by a user/role.
1 parent 15e11c6 commit e9acc38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pg_show_plans.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ set_state(bool state, void *extra)
319319
* commented out. */
320320
/* shmem_safety_check(); */
321321

322-
if (pgsp != NULL && is_allowed_role())
322+
if (pgsp != NULL)
323323
pgsp->is_enabled = state;
324324
}
325325

0 commit comments

Comments
 (0)