|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.110 2007/06/06 23:00:36 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.111 2007/06/11 15:08:32 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="plpgsql"> |
4 | 4 | <title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title> |
@@ -2583,18 +2583,16 @@ MOVE <optional> <replaceable>direction</replaceable> { FROM | IN } </optional> < |
2583 | 2583 | <para> |
2584 | 2584 | <command>MOVE</command> repositions a cursor without retrieving |
2585 | 2585 | any data. <command>MOVE</command> works exactly like the |
2586 | | - <command>FETCH</command> command, except it onlypositions the |
2587 | | - cursor and does not returnrows. As with <command>SELECT |
2588 | | -INTO</command>, the special variable <literal>FOUND</literal> can |
| 2586 | + <command>FETCH</command> command, except it onlyrepositions the |
| 2587 | + cursor and does not returnthe row moved to. As with <command>SELECT |
| 2588 | + INTO</command>, the special variable <literal>FOUND</literal> can |
2589 | 2589 | be checked to see whether the cursor was successfully |
2590 | 2590 | repositioned or not. |
2591 | 2591 | </para> |
2592 | 2592 |
|
2593 | 2593 | <para> |
2594 | | - The <replaceable>direction</replaceable> clause can be any of the |
2595 | | - variants allowed in the SQL <xref linkend="sql-move" |
2596 | | - endterm="sql-move-title"> command except the ones that can move by |
2597 | | - more than one row; namely, it can be |
| 2594 | + The options for the <replaceable>direction</replaceable> clause are |
| 2595 | + the same as for <command>FETCH</>, namely |
2598 | 2596 | <literal>NEXT</>, |
2599 | 2597 | <literal>PRIOR</>, |
2600 | 2598 | <literal>FIRST</>, |
|