diff --git a/doc/src/sgml/ref/fetch.sgml b/doc/src/sgml/ref/fetch.sgml index af4218b7618..13cdcff37f2 100644 --- a/doc/src/sgml/ref/fetch.sgml +++ b/doc/src/sgml/ref/fetch.sgml @@ -1,5 +1,5 @@ @@ -26,7 +26,7 @@ PostgreSQL documentation -FETCH [ direction { FROM | IN } ] cursor_name +FETCH [ direction [ FROM | IN ] ] cursor_name where direction can be empty or one of: @@ -404,7 +404,8 @@ COMMIT WORK; The SQL standard allows only FROM preceding the cursor - name; the option to use IN is an extension. + name; the option to use IN, or to leave them out altogether, is + an extension. diff --git a/doc/src/sgml/ref/move.sgml b/doc/src/sgml/ref/move.sgml index fdff72847b4..beeb1349a19 100644 --- a/doc/src/sgml/ref/move.sgml +++ b/doc/src/sgml/ref/move.sgml @@ -1,5 +1,5 @@ @@ -26,7 +26,7 @@ PostgreSQL documentation -MOVE [ direction { FROM | IN } ] cursor_name +MOVE [ direction [ FROM | IN ] ] cursor_name