|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/parallel.h"#include "catalog/dependency.h"#include "catalog/objectaccess.h"#include "executor/executor.h"#include "fmgr.h"#include "miscadmin.h"#include "tcop/utility.h"
Go to the source code of this file.
Definition at line 74 of file test_oat_hooks.c.
References DefineCustomBoolVariable(), ExecutorCheckPerms_hook, fb(), GUC_NOT_IN_SAMPLE, MarkGUCPrefixReserved(), next_exec_check_perms_hook, next_object_access_hook, next_object_access_hook_str, next_ProcessUtility_hook, object_access_hook, object_access_hook_str, PGC_SUSET, PGC_USERSET, ProcessUtility_hook, REGRESS_audit, REGRESS_deny_alter_system, REGRESS_deny_exec_perms, REGRESS_deny_object_access, REGRESS_deny_set_variable, REGRESS_deny_utility_commands, REGRESS_exec_check_perms(), REGRESS_object_access_hook(), REGRESS_object_access_hook_str(), REGRESS_suset_variable1, REGRESS_suset_variable2, REGRESS_userset_variable1, REGRESS_userset_variable2, and REGRESS_utility_command().
|
static |
Definition at line 457 of file test_oat_hooks.c.
References arg, fb(), OAT_DROP, OAT_FUNCTION_EXECUTE, OAT_NAMESPACE_SEARCH, OAT_POST_ALTER, OAT_POST_CREATE, OAT_TRUNCATE, OidIsValid, PERFORM_DELETION_CONCURRENT_LOCK, PERFORM_DELETION_CONCURRENTLY, PERFORM_DELETION_INTERNAL, PERFORM_DELETION_QUIETLY, PERFORM_DELETION_SKIP_EXTENSIONS, PERFORM_DELETION_SKIP_ORIGINAL, psprintf(), and pstrdup().
Referenced by REGRESS_object_access_hook().
|
static |
Definition at line 418 of file test_oat_hooks.c.
References ACL_ALTER_SYSTEM, ACL_SET, fb(), OAT_DROP, OAT_FUNCTION_EXECUTE, OAT_NAMESPACE_SEARCH, OAT_POST_ALTER, OAT_POST_CREATE, OAT_TRUNCATE, psprintf(), and type.
Referenced by REGRESS_object_access_hook(), and REGRESS_object_access_hook_str().
Definition at line 258 of file test_oat_hooks.c.
References emit_audit_message(), and fb().
Referenced by REGRESS_exec_check_perms(), REGRESS_object_access_hook(), REGRESS_object_access_hook_str(), and REGRESS_utility_command().
Definition at line 270 of file test_oat_hooks.c.
References emit_audit_message(), and fb().
Referenced by REGRESS_exec_check_perms().
Definition at line 264 of file test_oat_hooks.c.
References emit_audit_message(), and fb().
Referenced by REGRESS_exec_check_perms(), REGRESS_object_access_hook(), REGRESS_object_access_hook_str(), and REGRESS_utility_command().
|
static |
Definition at line 230 of file test_oat_hooks.c.
References ereport, errcode(), errmsg(), fb(), GetUserId(), IsParallelWorker, NOTICE, pfree(), REGRESS_audit, superuser_arg(), and type.
Referenced by audit_attempt(), audit_failure(), and audit_success().
|
static |
Definition at line 347 of file test_oat_hooks.c.
References audit_attempt(), audit_failure(), audit_success(), ereport, errcode(), errmsg(), ERROR, fb(), GetUserId(), next_exec_check_perms_hook, pstrdup(), REGRESS_deny_exec_perms, and superuser_arg().
Referenced by _PG_init().
|
static |
Definition at line 324 of file test_oat_hooks.c.
References accesstype_arg_to_string(), accesstype_to_string(), arg, audit_attempt(), audit_success(), ereport, errcode(), errmsg(), ERROR, fb(), GetUserId(), next_object_access_hook, REGRESS_deny_object_access, and superuser_arg().
Referenced by _PG_init().
|
static |
Definition at line 276 of file test_oat_hooks.c.
References accesstype_to_string(), ACL_ALTER_SYSTEM, ACL_SET, arg, audit_attempt(), audit_success(), elog, ereport, errcode(), errmsg(), ERROR, fb(), GetUserId(), next_object_access_hook_str, OAT_POST_ALTER, pstrdup(), REGRESS_deny_alter_system, REGRESS_deny_set_variable, and superuser_arg().
Referenced by _PG_init().
|
static |
Definition at line 379 of file test_oat_hooks.c.
References audit_attempt(), audit_success(), CreateCommandTag(), ereport, errcode(), errmsg(), ERROR, fb(), GetCommandTagName(), GetUserId(), next_ProcessUtility_hook, pstrdup(), REGRESS_deny_utility_commands, standard_ProcessUtility(), superuser_arg(), and PlannedStmt::utilityStmt.
Referenced by _PG_init().
|
static |
Definition at line 48 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_exec_check_perms().
|
static |
Definition at line 46 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_object_access_hook().
|
static |
Definition at line 47 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_object_access_hook_str().
|
static |
Definition at line 49 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_utility_command().
| PG_MODULE_MAGIC |
Definition at line 24 of file test_oat_hooks.c.
Definition at line 34 of file test_oat_hooks.c.
Referenced by _PG_init(), and emit_audit_message().
Definition at line 30 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_object_access_hook_str().
Definition at line 32 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_exec_check_perms().
Definition at line 31 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_object_access_hook().
Definition at line 29 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_object_access_hook_str().
Definition at line 33 of file test_oat_hooks.c.
Referenced by _PG_init(), and REGRESS_utility_command().
Definition at line 42 of file test_oat_hooks.c.
Referenced by _PG_init().
Definition at line 43 of file test_oat_hooks.c.
Referenced by _PG_init().
Definition at line 40 of file test_oat_hooks.c.
Referenced by _PG_init().
Definition at line 41 of file test_oat_hooks.c.
Referenced by _PG_init().