From: Bruce Momjian Date: Wed, 31 Aug 2022 23:28:41 +0000 (-0400) Subject: doc: show direction is optional in FETCH/MOVE's FROM/IN syntax X-Git-Tag: REL_10_23~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91b442aae76bf01bd4827ae03d017593fd04bf5b;p=thirdparty%2Fpostgresql.git doc: show direction is optional in FETCH/MOVE's FROM/IN syntax It used to show direction was required for FROM/IN. Reported-by: Rob Discussion: https://postgr.es/m/20211015165248.isqjceyilelhnu3k@localhost Author: Rob Backpatch-through: 10 --- diff --git a/doc/src/sgml/ref/fetch.sgml b/doc/src/sgml/ref/fetch.sgml index d8784e537f0..00f171a30b9 100644 --- a/doc/src/sgml/ref/fetch.sgml +++ b/doc/src/sgml/ref/fetch.sgml @@ -27,9 +27,10 @@ PostgreSQL documentation -FETCH [ direction [ FROM | IN ] ] cursor_name +FETCH [ direction ] [ FROM | IN ] cursor_name -where direction can be empty or one of: +where direction can +be one of: NEXT PRIOR diff --git a/doc/src/sgml/ref/move.sgml b/doc/src/sgml/ref/move.sgml index ed64f230689..124ea2bf8be 100644 --- a/doc/src/sgml/ref/move.sgml +++ b/doc/src/sgml/ref/move.sgml @@ -27,9 +27,10 @@ PostgreSQL documentation -MOVE [ direction [ FROM | IN ] ] cursor_name +MOVE [ direction ] [ FROM | IN ] cursor_name -where direction can be empty or one of: +where direction can +be one of: NEXT PRIOR