src/backend/utils/init/miscinit.c
/* extern so DispatchAgent can use this (postgres.c) */
extern so DispatchAgent can use this (postgres.c)
extern so DispatchAgent can use this ( postgres . c )
extern void
SetSessionUserId(Oid userid, bool is_superuser)
{
	AssertState(SecurityRestrictionContext == 0);
	AssertArg(OidIsValid(userid));
	SessionUserId = userid;
	SessionUserIsSuperuser = is_superuser;
	SetRoleIsActive = false;
	OuterUserId = userid;
	CurrentUserId = userid;
}
extern void SetSessionUserId ( Oid userid , bool is_superuser ) { AssertState ( SecurityRestrictionContext == 0 ) ; AssertArg ( OidIsValid ( userid ) ) ; SessionUserId = userid ; SessionUserIsSuperuser = is_superuser ; SetRoleIsActive = false ; OuterUserId = userid ; CurrentUserId = userid ; }
extern so DispatchAgent can use this (postgres.c)
extern so DispatchAgent can use this ( postgres . c )
/* We force the effective user IDs to match, too */