mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Doc: minor improvement in pl/pgsql FETCH/MOVE documentation.
Explain that you can use any integer expression for the "count" in pl/pgsql's versions of FETCH/MOVE, unlike the SQL versions which only allow a constant. Remove the duplicate version of this para under MOVE. I don't see a good reason to maintain two identical paras when we just said that MOVE works exactly like FETCH. Per Pavel Stehule, though I didn't use his text. Discussion: https://postgr.es/m/CAFj8pRAcvSXcNdUGx43bOK1e3NNPbQny7neoTLN42af+8MYWEA@mail.gmail.com
This commit is contained in:
@@ -99,7 +99,7 @@ FETCH [ <replaceable class="parameter">direction</replaceable> [ FROM | IN ] ] <
|
||||
This page describes usage of cursors at the SQL command level.
|
||||
If you are trying to use cursors inside a <application>PL/pgSQL</application>
|
||||
function, the rules are different —
|
||||
see <xref linkend="plpgsql-cursors"/>.
|
||||
see <xref linkend="plpgsql-cursor-using"/>.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
Reference in New Issue
Block a user