Commit afd1d95f authored by Stephen Frost's avatar Stephen Frost

Copy-editing of row security

Address a few typos in the row security update, pointed out
off-list by Adam Brightwell.  Also include 'ALL' in the list
of commands supported, for completeness.
parent 6550b901
...@@ -1535,7 +1535,7 @@ REVOKE ALL ON accounts FROM PUBLIC; ...@@ -1535,7 +1535,7 @@ REVOKE ALL ON accounts FROM PUBLIC;
be added through data modification commands. By default, tables do be added through data modification commands. By default, tables do
not have any policies and all rows are visible and able to be added, not have any policies and all rows are visible and able to be added,
subject to the regular <xref linkend="ddl-priv"> system. This is subject to the regular <xref linkend="ddl-priv"> system. This is
also known to as Row Level Security. also known as Row Level Security.
</para> </para>
<para> <para>
...@@ -1550,10 +1550,10 @@ REVOKE ALL ON accounts FROM PUBLIC; ...@@ -1550,10 +1550,10 @@ REVOKE ALL ON accounts FROM PUBLIC;
<para> <para>
Row security policies can be specific to commands, or to roles, or to Row security policies can be specific to commands, or to roles, or to
both. The commands available are <literal>SELECT</>, <literal>INSERT</>, both. The commands available are <literal>ALL</literal>,
<literal>UPDATE</>, and <literal>DELETE</>. Multiple roles can be <literal>SELECT</>, <literal>INSERT</>, <literal>UPDATE</>, and
assigned to a given policy and normal role membership and inheiritance <literal>DELETE</>. Multiple roles can be assigned to a given policy
rules apply. and normal role membership and inheiritance rules apply.
</para> </para>
<para> <para>
......
...@@ -108,7 +108,7 @@ parse_row_security_command(const char *cmd_name) ...@@ -108,7 +108,7 @@ parse_row_security_command(const char *cmd_name)
char cmd; char cmd;
if (!cmd_name) if (!cmd_name)
elog(ERROR, "unregonized command"); elog(ERROR, "unrecognized command");
if (strcmp(cmd_name, "all") == 0) if (strcmp(cmd_name, "all") == 0)
cmd = 0; cmd = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment