MCPcopy Create free account
hub / github.com/apache/cloudberry / InSecurityRestrictedOperation

Function InSecurityRestrictedOperation

src/backend/utils/init/miscinit.c:640–644  ·  view source on GitHub ↗

* InSecurityRestrictedOperation - are we inside a security-restricted command? */

Source from the content-addressed store, hash-verified

638 * InSecurityRestrictedOperation - are we inside a security-restricted command?
639 */
640bool
641InSecurityRestrictedOperation(void)
642{
643 return (SecurityRestrictionContext & SECURITY_RESTRICTED_OPERATION) != 0;
644}
645
646/*
647 * InNoForceRLSOperation - are we ignoring FORCE ROW LEVEL SECURITY ?

Callers 7

CheckRestrictedOperationFunction · 0.85
SetUserIdAndContextFunction · 0.85
set_config_optionFunction · 0.85
is_admin_of_roleFunction · 0.85
PerformCursorOpenFunction · 0.85
afterTriggerMarkEventsFunction · 0.85
DefineRelationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected