Skip to content

Commit b8226bd

Browse files
committed
fix typo 附表->父表
1 parent 091a397 commit b8226bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgresql/doc/src/sgml/ddl.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6729,7 +6729,7 @@ ________________________________________________________-->
67296729
</para>
67306730
________________________________________________________-->
67316731
<para>
6732-
继承的查询仅在附表上执行访问权限检查。例如,在<structname>cities</structname>表上授予<literal>UPDATE</literal>权限也隐含着通过<structname>cities</structname>访问时在<structname>capitals</structname>表中更新行的权限。
6732+
继承的查询仅在父表上执行访问权限检查。例如,在<structname>cities</structname>表上授予<literal>UPDATE</literal>权限也隐含着通过<structname>cities</structname>访问时在<structname>capitals</structname>表中更新行的权限。
67336733
这保留了数据(也)在父表中的样子。但是如果没有额外的授权,则不能直接更新<structname>capitals</structname>表。
67346734
以类似的方式,父表的行安全性策略(见<xref linkend="ddl-rowsecurity"/>)适用于继承查询期间来自于子表的行。
67356735
只有当子表在查询中被明确提到时,其策略(如果有)才会被应用,在那种情况下,附着在其父表上的任何策略都会被忽略。

0 commit comments

Comments
 (0)