Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitafd1d95

Browse files
committed
Copy-editing of row security
Address a few typos in the row security update, pointed outoff-list by Adam Brightwell. Also include 'ALL' in the listof commands supported, for completeness.
1 parent6550b90 commitafd1d95

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎doc/src/sgml/ddl.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ REVOKE ALL ON accounts FROM PUBLIC;
15351535
be added through data modification commands. By default, tables do
15361536
not have any policies and all rows are visible and able to be added,
15371537
subject to the regular <xref linkend="ddl-priv"> system. This is
1538-
also knowntoas Row Level Security.
1538+
also known as Row Level Security.
15391539
</para>
15401540

15411541
<para>
@@ -1550,10 +1550,10 @@ REVOKE ALL ON accounts FROM PUBLIC;
15501550

15511551
<para>
15521552
Row security policies can be specific to commands, or to roles, or to
1553-
both. The commands available are <literal>SELECT</>, <literal>INSERT</>,
1554-
<literal>UPDATE</>,and <literal>DELETE</>. Multiple roles can be
1555-
assigned to a given policy and normal role membership and inheiritance
1556-
rules apply.
1553+
both. The commands available are <literal>ALL</literal>,
1554+
<literal>SELECT</>,<literal>INSERT</>, <literal>UPDATE</>, and
1555+
<literal>DELETE</>. Multiple roles can be assigned to a given policy
1556+
and normal role membership and inheiritancerules apply.
15571557
</para>
15581558

15591559
<para>

‎src/backend/commands/policy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ parse_row_security_command(const char *cmd_name)
108108
charcmd;
109109

110110
if (!cmd_name)
111-
elog(ERROR,"unregonized command");
111+
elog(ERROR,"unrecognized command");
112112

113113
if (strcmp(cmd_name,"all")==0)
114114
cmd=0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp