1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

Add cross-references from the DECLARE and FETCH reference pages to

the plpgsql documentation about cursors.  Per a suggestion from
Matthew Wakeling.
This commit is contained in:
Tom Lane
2009-04-10 17:56:21 +00:00
parent 51781146a8
commit 843c6546eb
2 changed files with 20 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.45 2008/11/16 17:34:28 tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.46 2009/04/10 17:56:21 tgl Exp $
PostgreSQL documentation
-->
@@ -41,6 +41,15 @@ DECLARE <replaceable class="parameter">name</replaceable> [ BINARY ] [ INSENSITI
After the cursor is created, rows are fetched from it using
<xref linkend="sql-fetch" endterm="sql-fetch-title">.
</para>
<note>
<para>
This page describes usage of cursors at the SQL command level.
If you are trying to use cursors inside a <application>PL/pgSQL</>
function, the rules are different &mdash;
see <xref linkend="plpgsql-cursors">.
</para>
</note>
</refsect1>
<refsect1>