diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-03 20:04:11 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-03 20:04:11 -0500 |
| commit | c1611db01fec587525e88270854c4b993846dcb3 (patch) | |
| tree | d03a483918bffb1c91ba5eaeff6f6499b254d956 /doc/src/sgml/ref/drop_policy.sgml | |
| parent | 939d10cd8711fdeb7f0ff62c9c6b08e3eddbba3e (diff) | |
| download | postgresql-c1611db01fec587525e88270854c4b993846dcb3.tar.gz | |
Do some copy-editing on the docs for row-level security.
Clarifications, markup improvements, corrections of misleading or
outright wrong statements.
Diffstat (limited to 'doc/src/sgml/ref/drop_policy.sgml')
| -rw-r--r-- | doc/src/sgml/ref/drop_policy.sgml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/drop_policy.sgml b/doc/src/sgml/ref/drop_policy.sgml index c25bc61d9e..e5eaaa785b 100644 --- a/doc/src/sgml/ref/drop_policy.sgml +++ b/doc/src/sgml/ref/drop_policy.sgml @@ -16,7 +16,7 @@ PostgreSQL documentation <refnamediv> <refname>DROP POLICY</refname> - <refpurpose>remove a policy from a table</refpurpose> + <refpurpose>remove a row level security policy from a table</refpurpose> </refnamediv> <refsynopsisdiv> @@ -32,10 +32,9 @@ DROP POLICY [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ON < <command>DROP POLICY</command> removes the specified policy from the table. Note that if the last policy is removed for a table and the table still has row level security enabled via <command>ALTER TABLE</command>, then the - default-deny policy will be used. <command>ALTER TABLE</command> can be used - to disable row level security for a table using - <literal>DISABLE ROW SECURITY</literal>, whether policies for the table - exist or not. + default-deny policy will be used. <literal>ALTER TABLE ... DISABLE ROW + LEVEL SECURITY</literal> can be used to disable row level security for a + table, whether policies for the table exist or not. </para> </refsect1> |
