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
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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers