diff options
author | Bruce Momjian <bruce@momjian.us> | 2022-08-31 19:28:42 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2022-08-31 19:28:42 -0400 |
commit | 27e8fc4bcc33e94cd0016b81464bbb7b13d47775 (patch) | |
tree | 0b9259959a0443ba7579dbce0d2bc21751041be6 /doc/src/sgml/ref/fetch.sgml | |
parent | 3da5ecb98c80be0a5c8064b7e4b8f147862f1581 (diff) |
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 <rirans@comcast.net>
Discussion: https://postgr.es/m/20211015165248.isqjceyilelhnu3k@localhost
Author: Rob <rirans@comcast.net>
Backpatch-through: 10
Diffstat (limited to 'doc/src/sgml/ref/fetch.sgml')
-rw-r--r-- | doc/src/sgml/ref/fetch.sgml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/fetch.sgml b/doc/src/sgml/ref/fetch.sgml index ec843f56844..83d58e54b9d 100644 --- a/doc/src/sgml/ref/fetch.sgml +++ b/doc/src/sgml/ref/fetch.sgml @@ -27,9 +27,10 @@ PostgreSQL documentation <refsynopsisdiv> <!-- Note the "direction" bit is also in ref/move.sgml --> <synopsis> -FETCH [ <replaceable class="parameter">direction</replaceable> [ FROM | IN ] ] <replaceable class="parameter">cursor_name</replaceable> +FETCH [ <replaceable class="parameter">direction</replaceable> ] [ FROM | IN ] <replaceable class="parameter">cursor_name</replaceable> -<phrase>where <replaceable class="parameter">direction</replaceable> can be empty or one of:</phrase> +<phrase>where <replaceable class="parameter">direction</replaceable> can +be one of:</phrase> NEXT PRIOR |