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 $
33PostgreSQL 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