summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2009-11-11 20:07:57 +0000
committerAlvaro Herrera2009-11-11 20:07:57 +0000
commitaf054db6ef2cddb821bb0b0f50db9e6d4d39bc3d (patch)
tree82fd90e3b8802c77a1da3ea8fda91f399b7acccf
parent2ea179f36102edc8df6be9e728b24bcb264ec52e (diff)
Document the previous FETCH and MOVE changes.
-rw-r--r--doc/src/sgml/ref/fetch.sgml7
-rw-r--r--doc/src/sgml/ref/move.sgml4
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/fetch.sgml b/doc/src/sgml/ref/fetch.sgml
index af4218b761..13cdcff37f 100644
--- a/doc/src/sgml/ref/fetch.sgml
+++ b/doc/src/sgml/ref/fetch.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/fetch.sgml,v 1.45 2009/09/19 10:23:27 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/fetch.sgml,v 1.46 2009/11/11 20:07:57 alvherre Exp $
PostgreSQL documentation
-->
@@ -26,7 +26,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<synopsis>
-FETCH [ <replaceable class="PARAMETER">direction</replaceable> { FROM | IN } ] <replaceable class="PARAMETER">cursor_name</replaceable>
+FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable>
<phrase>where <replaceable class="PARAMETER">direction</replaceable> can be empty or one of:</phrase>
@@ -404,7 +404,8 @@ COMMIT WORK;
<para>
The SQL standard allows only <literal>FROM</> preceding the cursor
- name; the option to use <literal>IN</> is an extension.
+ name; the option to use <literal>IN</>, or to leave them out altogether, is
+ an extension.
</para>
</refsect1>
diff --git a/doc/src/sgml/ref/move.sgml b/doc/src/sgml/ref/move.sgml
index fdff72847b..beeb1349a1 100644
--- a/doc/src/sgml/ref/move.sgml
+++ b/doc/src/sgml/ref/move.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/move.sgml,v 1.33 2009/09/19 10:23:27 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/move.sgml,v 1.34 2009/11/11 20:07:57 alvherre Exp $
PostgreSQL documentation
-->
@@ -26,7 +26,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<synopsis>
-MOVE [ <replaceable class="PARAMETER">direction</replaceable> { FROM | IN } ] <replaceable class="PARAMETER">cursor_name</replaceable>
+MOVE [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable>
</synopsis>
</refsynopsisdiv>