summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2018-08-09 20:19:32 +0000
committerAlvaro Herrera2018-08-09 20:19:32 +0000
commita5db27418e222a930cd39f48907e58a13837b331 (patch)
treec1310bb83d50f09ae89586f4b23420302d822eea
parent8694a1ce406d58873e7332fa725baeeff18f57b2 (diff)
Add RECURSIVE to documentation index
Author: Daniel Vérité <[email protected]> Reviewed-by: Fabien COELHO <[email protected]> Discussion: https://postgr.es/m/[email protected]
-rw-r--r--doc/src/sgml/queries.sgml4
-rw-r--r--doc/src/sgml/ref/create_view.sgml7
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/src/sgml/queries.sgml b/doc/src/sgml/queries.sgml
index b72be9bf71..88bc189646 100644
--- a/doc/src/sgml/queries.sgml
+++ b/doc/src/sgml/queries.sgml
@@ -1981,6 +1981,10 @@ GROUP BY region, product;
</para>
<para>
+ <indexterm>
+ <primary>RECURSIVE</primary>
+ <secondary>in common table expressions</secondary>
+ </indexterm>
The optional <literal>RECURSIVE</literal> modifier changes <literal>WITH</literal>
from a mere syntactic convenience into a feature that accomplishes
things not otherwise possible in standard SQL. Using
diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml
index b325c1be50..e7a7e9fae2 100644
--- a/doc/src/sgml/ref/create_view.sgml
+++ b/doc/src/sgml/ref/create_view.sgml
@@ -82,7 +82,12 @@ CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] [ RECURSIVE ] VIEW <replaceable class
</varlistentry>
<varlistentry>
- <term><literal>RECURSIVE</literal></term>
+ <term><literal>RECURSIVE</literal>
+ <indexterm zone="sql-createview">
+ <primary>RECURSIVE</primary>
+ <secondary>in views</secondary>
+ </indexterm>
+ </term>
<listitem>
<para>
Creates a recursive view. The syntax