Commit af054db6 authored by Alvaro Herrera's avatar Alvaro Herrera

Document the previous FETCH and MOVE changes.

parent 2ea179f3
<!-- <!--
$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 PostgreSQL documentation
--> -->
...@@ -26,7 +26,7 @@ PostgreSQL documentation ...@@ -26,7 +26,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <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> <phrase>where <replaceable class="PARAMETER">direction</replaceable> can be empty or one of:</phrase>
...@@ -404,7 +404,8 @@ COMMIT WORK; ...@@ -404,7 +404,8 @@ COMMIT WORK;
<para> <para>
The SQL standard allows only <literal>FROM</> preceding the cursor 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> </para>
</refsect1> </refsect1>
......
<!-- <!--
$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 PostgreSQL documentation
--> -->
...@@ -26,7 +26,7 @@ PostgreSQL documentation ...@@ -26,7 +26,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <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> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment