]> granicus.if.org Git - postgresql/commitdiff
Fix documentation of check_option in information_schema.views
authorMichael Paquier <michael@paquier.xyz>
Sat, 1 Jun 2019 19:33:47 +0000 (15:33 -0400)
committerMichael Paquier <michael@paquier.xyz>
Sat, 1 Jun 2019 19:33:47 +0000 (15:33 -0400)
Support of CHECK OPTION for updatable views has been added in 9.4, but
the documentation of information_schema never got the call even if the
information displayed is correct.

Author: Gilles Darold
Discussion: https://postgr.es/m/75d07704-6c74-4f26-656a-10045c01a17e@darold.net
Backpatch-through: 9.4

doc/src/sgml/information_schema.sgml

index 234a3bb6d13583526a8a01dcfbd4b1e2fc49f88c..906fe7819f5e58d06929a7d09033afbe8c04598c 100644 (file)
@@ -6737,7 +6737,11 @@ ORDER BY c.ordinal_position;
      <row>
       <entry><literal>check_option</literal></entry>
       <entry><type>character_data</type></entry>
-      <entry>Applies to a feature not available in <productname>PostgreSQL</productname></entry>
+      <entry>
+       <literal>CASCADED</literal> or <literal>LOCAL</literal> if the view
+       has a <literal>CHECK OPTION</literal> defined on it,
+       <literal>NONE</literal> if not
+      </entry>
      </row>
 
      <row>