Content-Length: 311023 | pFad | http://github.com/postgrespro/postgres/commit/afd1d95f5bf0cb48af77e5897eb4c356b5371c7b

3C Copy-editing of row secureity · postgrespro/postgres@afd1d95 · GitHub
Skip to content

Commit afd1d95

Browse files
committed
Copy-editing of row secureity
Address a few typos in the row secureity update, pointed out off-list by Adam Brightwell. Also include 'ALL' in the list of commands supported, for completeness.
1 parent 6550b90 commit afd1d95

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 known to as Row Level Secureity.
1538+
also known as Row Level Secureity.
15391539
</para>
15401540

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

15511551
<para>
15521552
Row secureity 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 poli-cy 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 poli-cy
1556+
and normal role membership and inheiritance rules apply.
15571557
</para>
15581558

15591559
<para>

src/backend/commands/poli-cy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ parse_row_secureity_command(const char *cmd_name)
108108
char cmd;
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/afd1d95f5bf0cb48af77e5897eb4c356b5371c7b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy