↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 扩展钩子

row_security_policy_hook_permissive

hooks to allow extensions to add their own security policies row_security_policy_hook_permissive can be used to add policies which are combined with the other permissive policies, using OR. row_security_policy_hook_restrictive can be used to add policies which are enforced, regardless of other policies (they are combined using AND).

当前阅读 PG 18·选择有来源记录的版本

此版本暂无所选语言的定义,以下显示原始英文内容。

Interface type
row_security_policy_hook_type
Header
src/include/rewrite/rowsecurity.h
Subsystem
Permissions and object access
Initial value
NULL (no hook installed)
signature
typedef List *(*row_security_policy_hook_type) (CmdType cmdtype, Relation relation); extern PGDLLIMPORT row_security_policy_hook_type row_security_policy_hook_permissive;

版本定义 PG 18

hooks to allow extensions to add their own security policies row_security_policy_hook_permissive can be used to add policies which are combined with the other permissive policies, using OR. row_security_policy_hook_restrictive can be used to add policies which are enforced, regardless of other policies (they are combined using AND).

比较版本

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · 753057e340da8f22e57c9a409ea7a235fd6a46bd

正文语言: en · 753057e340da8f22e57c9a409ea7a235fd6a46bd