Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b16bd18

Browse files
committed
Clearify DECLARE syntax by saying cursorname, not just cursor.
1 parent 0022f21 commit b16bd18

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/src/sgml/ref/declare.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/declare.sgml,v 1.7 1999/07/22 15:09:09 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/declare.sgml,v 1.8 1999/12/30 22:58:10 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -23,7 +23,7 @@ Postgres documentation
2323
<date>1999-07-20</date>
2424
</refsynopsisdivinfo>
2525
<synopsis>
26-
DECLARE <replaceable class="parameter">cursor</replaceable> [ BINARY ] [ INSENSITIVE ] [ SCROLL ]
26+
DECLARE <replaceable class="parameter">cursorname</replaceable> [ BINARY ] [ INSENSITIVE ] [ SCROLL ]
2727
CURSOR FOR <replaceable class="parameter">query</replaceable>
2828
[ FOR { READ ONLY | UPDATE [ OF <replaceable class="parameter">column</replaceable> [, ...] ] ]
2929
</synopsis>
@@ -37,7 +37,7 @@ DECLARE <replaceable class="parameter">cursor</replaceable> [ BINARY ] [ INSENSI
3737
<para>
3838
<variablelist>
3939
<varlistentry>
40-
<term><replaceable class="parameter">cursor</replaceable></term>
40+
<term><replaceable class="parameter">cursorname</replaceable></term>
4141
<listitem>
4242
<para>
4343
The name of the cursor to be used in subsequent FETCH operations..
@@ -154,11 +154,11 @@ SELECT
154154
<varlistentry>
155155
<term><computeroutput>
156156
NOTICE
157-
BlankPortalAssignName: portal "<replaceable class="parameter">cursor</replaceable>" already exists
157+
BlankPortalAssignName: portal "<replaceable class="parameter">cursorname</replaceable>" already exists
158158
</computeroutput></term>
159159
<listitem>
160160
<para>
161-
This error occurs if <replaceable class="parameter">cursor</replaceable> is already declared.
161+
This error occurs if <replaceable class="parameter">cursorname</replaceable> is already declared.
162162
</para>
163163
</listitem>
164164
</varlistentry>

0 commit comments

Comments
 (0)