MCPcopy 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
620void
621SetUserIdAndSecContext(Oid userid, int sec_context)
622{
623 CurrentUserId = userid;
624 SecurityRestrictionContext = sec_context;
625}
626
627
628/*

Callers 15

bt_index_check_internalFunction · 0.85
exec_mpp_queryFunction · 0.85
PostgresMainFunction · 0.85
ri_PlanCheckFunction · 0.85
ri_PerformCheckFunction · 0.85
fmgr_security_definerFunction · 0.85
do_analyze_relFunction · 0.85
vacuum_relFunction · 0.85
DefineIndexFunction · 0.85
execute_extension_scriptFunction · 0.85
cluster_relFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected