Commit b16bd185 authored by Bruce Momjian's avatar Bruce Momjian

Clearify DECLARE syntax by saying cursorname, not just cursor.

parent 0022f21d
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/declare.sgml,v 1.7 1999/07/22 15:09:09 thomas Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/declare.sgml,v 1.8 1999/12/30 22:58:10 momjian Exp $
Postgres documentation Postgres documentation
--> -->
...@@ -23,7 +23,7 @@ Postgres documentation ...@@ -23,7 +23,7 @@ Postgres documentation
<date>1999-07-20</date> <date>1999-07-20</date>
</refsynopsisdivinfo> </refsynopsisdivinfo>
<synopsis> <synopsis>
DECLARE <replaceable class="parameter">cursor</replaceable> [ BINARY ] [ INSENSITIVE ] [ SCROLL ] DECLARE <replaceable class="parameter">cursorname</replaceable> [ BINARY ] [ INSENSITIVE ] [ SCROLL ]
CURSOR FOR <replaceable class="parameter">query</replaceable> CURSOR FOR <replaceable class="parameter">query</replaceable>
[ FOR { READ ONLY | UPDATE [ OF <replaceable class="parameter">column</replaceable> [, ...] ] ] [ FOR { READ ONLY | UPDATE [ OF <replaceable class="parameter">column</replaceable> [, ...] ] ]
</synopsis> </synopsis>
...@@ -37,7 +37,7 @@ DECLARE <replaceable class="parameter">cursor</replaceable> [ BINARY ] [ INSENSI ...@@ -37,7 +37,7 @@ DECLARE <replaceable class="parameter">cursor</replaceable> [ BINARY ] [ INSENSI
<para> <para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="parameter">cursor</replaceable></term> <term><replaceable class="parameter">cursorname</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the cursor to be used in subsequent FETCH operations.. The name of the cursor to be used in subsequent FETCH operations..
...@@ -154,11 +154,11 @@ SELECT ...@@ -154,11 +154,11 @@ SELECT
<varlistentry> <varlistentry>
<term><computeroutput> <term><computeroutput>
NOTICE NOTICE
BlankPortalAssignName: portal "<replaceable class="parameter">cursor</replaceable>" already exists BlankPortalAssignName: portal "<replaceable class="parameter">cursorname</replaceable>" already exists
</computeroutput></term> </computeroutput></term>
<listitem> <listitem>
<para> <para>
This error occurs if <replaceable class="parameter">cursor</replaceable> is already declared. This error occurs if <replaceable class="parameter">cursorname</replaceable> is already declared.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment