Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudberry
/ SetUserIdAndSecContext
Function
SetUserIdAndSecContext
src/backend/utils/init/miscinit.c:620–625 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
618
}
619
620
void
621
SetUserIdAndSecContext(Oid userid, int sec_context)
622
{
623
CurrentUserId = userid;
624
SecurityRestrictionContext = sec_context;
625
}
626
627
628
/*
Callers
15
bt_index_check_internal
Function · 0.85
exec_mpp_query
Function · 0.85
PostgresMain
Function · 0.85
ri_PlanCheck
Function · 0.85
ri_PerformCheck
Function · 0.85
fmgr_security_definer
Function · 0.85
do_analyze_rel
Function · 0.85
vacuum_rel
Function · 0.85
DefineIndex
Function · 0.85
reindex_concurrently_create_indexes
Function · 0.85
execute_extension_script
Function · 0.85
cluster_rel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected