pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: philipp.salvisberg@gmail.com
Subject: Undocumented count in FORWARD/BACKWARD direction of MOVE statement
Date: Sun, 21 Jul 2024 09:52:13 +0000
Message-ID: <172155553388.702.7932496598218792085@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/plpgsql-cursors.html
Description:

The documentation shows this example for the MOVE statement:

MOVE FORWARD 2 FROM curs4;

According to the docs, this should not work. The count is documented only
for the directions ABSOLUTE and RELATIVE (which should be enough). "FORWARD
count" and "BACKWARD" count works in MOVE but not in FETCH. I don't know if
this is intentional. However, the docs do not seem to be correct for MOVE
directions.


view thread (3+ messages)  latest in thread

Message-ID: <172155553388.702.7932496598218792085@wrigleys.postgresql.org>
Permalink:  ../172155553388.702.7932496598218792085@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/172155553388.702.7932496598218792085@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, philipp.salvisberg@gmail.com
  Subject: Re: Undocumented count in FORWARD/BACKWARD direction of MOVE statement
  In-Reply-To: <172155553388.702.7932496598218792085@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox