<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.35 2006/02/12 19:02:15 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.36 2006/02/12 20:31:58 tgl Exp $
PostgreSQL documentation
-->
a performance penalty on the query's execution time.
<literal>NO SCROLL</literal> specifies that the cursor cannot be
used to retrieve rows in a nonsequential fashion. The default is to
- allow scrolling, but this is not the same as specifying
- <literal>SCROLL</literal>. See <xref linkend="notes"> for more details.
+ allow scrolling in some cases; this is not the same as specifying
+ <literal>SCROLL</literal>. See <xref linkend="sql-declare-notes"
+ endterm="sql-declare-notes-title"> for details.
</para>
</listitem>
</varlistentry>
</para>
</refsect1>
- <refsect1 id="notes">
- <title>Notes</title>
+ <refsect1 id="sql-declare-notes">
+ <title id="sql-declare-notes-title">Notes</title>
<para>
Unless <literal>WITH HOLD</literal> is specified, the cursor