|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Enumerations | |
| enum | CheckEnableRlsResult { RLS_NONE , RLS_NONE_ENV , RLS_ENABLED } |
Functions | |
| int | check_enable_rls (Oid relid, Oid checkAsUser, bool noError) |
Variables | |
| PGDLLIMPORT bool | row_security |
| Enumerator | |
|---|---|
| RLS_NONE | |
| RLS_NONE_ENV | |
| RLS_ENABLED | |
Definition at line 52 of file rls.c.
References ereport, errcode(), errhint(), errmsg(), ERROR, fb(), FirstNormalObjectId, get_rel_name(), GETSTRUCT(), GetUserId(), has_bypassrls_privilege(), HeapTupleIsValid, InNoForceRLSOperation(), object_ownercheck(), ObjectIdGetDatum(), OidIsValid, ReleaseSysCache(), RLS_ENABLED, RLS_NONE, RLS_NONE_ENV, row_security, and SearchSysCache1().
Referenced by BuildIndexValueDescription(), DoCopy(), ExecBuildSlotPartitionKeyDescription(), ExecBuildSlotValueDescription(), get_row_security_policies(), intorel_startup(), LogicalRepSyncTableStart(), ri_ReportViolation(), row_security_active(), row_security_active_name(), and TargetPrivilegesCheck().
|
extern |
Definition at line 528 of file guc_tables.c.
Referenced by check_enable_rls(), CompleteCachedPlan(), and RevalidateCachedQuery().