Undocumented count in FORWARD/BACKWARD direction of MOVE statement

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: philipp(dot)salvisberg(at)gmail(dot)com
Subject: Undocumented count in FORWARD/BACKWARD direction of MOVE statement
Date: 2024-07-21 09:52:13
Message-ID: 172155553388.702.7932496598218792085@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message shveta malik 2024-07-22 05:15:14 Re: Fix an incorrect statement for failover option in alter_subscription.sgml
Previous Message Zhijie Hou (Fujitsu) 2024-07-19 05:53:28 RE: Fix an incorrect statement for failover option in alter_subscription.sgml