typo in create policy doc
Started by Dmitriy Olshevskiyover 10 years ago2 messages
hello.
please check the typo "WTIH CHECK" in CREATE
POLICY doc
<http://www.postgresql.org/docs/9.5/static/sql-createpolicy.html>
(9.5 and devel. version).
patch is in attachments.
--
Dmitriy Olshevskiy
Attachments:
p3.typo_with_check_create_policy.patchtext/x-patch; name=p3.typo_with_check_create_policy.patchDownload
diff --git a/doc/src/sgml/ref/create_policy.sgml b/doc/src/sgml/ref/create_policy.sgml
index 56f0124..629ed80 100644
--- a/doc/src/sgml/ref/create_policy.sgml
+++ b/doc/src/sgml/ref/create_policy.sgml
@@ -305,7 +305,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
<literal>UPDATE</literal> path is taken. Any existing row that
necessitates that the <literal>UPDATE</literal> path be taken must pass
the (UPDATE or ALL) <literal>USING</literal> qualifications (combined
- using <literal>OR</literal>), which are always enforced as WTIH CHECK
+ using <literal>OR</literal>), which are always enforced as WITH CHECK
options in this context (the <literal>UPDATE</literal> path will
<emphasis>never</> be silently avoided; an error will be thrown
instead). Finally, the final row appended to the relation must pass
Re: typo in create policy doc
Dmitriy,
* Dmitriy Olshevskiy (olshevskiy87@bk.ru) wrote:
please check the typo "WTIH CHECK" in CREATE POLICY doc
<http://www.postgresql.org/docs/9.5/static/sql-createpolicy.html>
(9.5 and devel. version).
patch is in attachments.
Fixed.
Thanks!
Stephen