mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
pgindent run for 9.6
This commit is contained in:
@ -880,9 +880,9 @@ check_role(char **newval, void **extra, GucSource source)
|
||||
ReleaseSysCache(roleTup);
|
||||
|
||||
/*
|
||||
* Verify that session user is allowed to become this role, but
|
||||
* skip this in parallel mode, where we must blindly recreate the
|
||||
* parallel leader's state.
|
||||
* Verify that session user is allowed to become this role, but skip
|
||||
* this in parallel mode, where we must blindly recreate the parallel
|
||||
* leader's state.
|
||||
*/
|
||||
if (!InitializingParallelWorker &&
|
||||
!is_member_of_role(GetSessionUserId(), roleid))
|
||||
|
Reference in New Issue
Block a user