Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit af054db

Browse files
committed
Document the previous FETCH and MOVE changes.
1 parent 2ea179f commit af054db

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

doc/src/sgml/ref/fetch.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/fetch.sgml,v 1.45 2009/09/19 10:23:27 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/fetch.sgml,v 1.46 2009/11/11 20:07:57 alvherre Exp $
33
PostgreSQL documentation
44
-->
55

@@ -26,7 +26,7 @@ PostgreSQL documentation
2626

2727
<refsynopsisdiv>
2828
<synopsis>
29-
FETCH [ <replaceable class="PARAMETER">direction</replaceable> { FROM | IN } ] <replaceable class="PARAMETER">cursor_name</replaceable>
29+
FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable>
3030

3131
<phrase>where <replaceable class="PARAMETER">direction</replaceable> can be empty or one of:</phrase>
3232

@@ -404,7 +404,8 @@ COMMIT WORK;
404404

405405
<para>
406406
The SQL standard allows only <literal>FROM</> preceding the cursor
407-
name; the option to use <literal>IN</> is an extension.
407+
name; the option to use <literal>IN</>, or to leave them out altogether, is
408+
an extension.
408409
</para>
409410
</refsect1>
410411

doc/src/sgml/ref/move.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/move.sgml,v 1.33 2009/09/19 10:23:27 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/move.sgml,v 1.34 2009/11/11 20:07:57 alvherre Exp $
33
PostgreSQL documentation
44
-->
55

@@ -26,7 +26,7 @@ PostgreSQL documentation
2626

2727
<refsynopsisdiv>
2828
<synopsis>
29-
MOVE [ <replaceable class="PARAMETER">direction</replaceable> { FROM | IN } ] <replaceable class="PARAMETER">cursor_name</replaceable>
29+
MOVE [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable>
3030
</synopsis>
3131
</refsynopsisdiv>
3232

0 commit comments

Comments
 (0)