File tree 2 files changed +20
-2
lines changed
2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.45 2008/11/16 17:34:28 tgl Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.46 2009/04/10 17:56:21 tgl Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -41,6 +41,15 @@ DECLARE <replaceable class="parameter">name</replaceable> [ BINARY ] [ INSENSITI
41
41
After the cursor is created, rows are fetched from it using
42
42
<xref linkend="sql-fetch" endterm="sql-fetch-title">.
43
43
</para>
44
+
45
+ <note>
46
+ <para>
47
+ This page describes usage of cursors at the SQL command level.
48
+ If you are trying to use cursors inside a <application>PL/pgSQL</>
49
+ function, the rules are different —
50
+ see <xref linkend="plpgsql-cursors">.
51
+ </para>
52
+ </note>
44
53
</refsect1>
45
54
46
55
<refsect1>
Original file line number Diff line number Diff line change 1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/ref/fetch.sgml,v 1.42 2008/11/14 10:22:47 petere Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/ref/fetch.sgml,v 1.43 2009/04/10 17:56:21 tgl Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -92,6 +92,15 @@ where <replaceable class="PARAMETER">direction</replaceable> can be empty or one
92
92
row. This will succeed unless the cursor is positioned before the
93
93
first row or after the last row; in which case, no row is returned.
94
94
</para>
95
+
96
+ <note>
97
+ <para>
98
+ This page describes usage of cursors at the SQL command level.
99
+ If you are trying to use cursors inside a <application>PL/pgSQL</>
100
+ function, the rules are different —
101
+ see <xref linkend="plpgsql-cursors">.
102
+ </para>
103
+ </note>
95
104
</refsect1>
96
105
97
106
<refsect1>
You can’t perform that action at this time.
0 commit comments