mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Clearify DECLARE syntax by saying cursorname, not just cursor.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$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
|
|||||||
<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
|
|||||||
<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
|
|||||||
<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>
|
||||||
|
Reference in New Issue
Block a user