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.