From af054db6ef2cddb821bb0b0f50db9e6d4d39bc3d Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 11 Nov 2009 20:07:57 +0000 Subject: [PATCH] Document the previous FETCH and MOVE changes. --- doc/src/sgml/ref/fetch.sgml | 7 ++++--- doc/src/sgml/ref/move.sgml | 4 ++-- 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 @@ @@ -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 fdff72847b..beeb1349a1 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 -- 2.40.0