Skip to content

Commit 92a2648

Browse files
committed
> Actually, if you submit a patch that says either "SCROLL is the
default" > or "NO SCROLL is the default", it will be rejected as incorrect. The > reason is that the default behavior is different from either of these, > as is explained in the NOTES section. Ok, so *that's* where the bit about the query plan being simple enough. Based on that, ISTM that it should be premissable for us to decide that a cursor requiring a sort isn't "simple enough" to support SCROLL. In any case, here's a patch that makes the non-standard behavior easier for people to find. Jim C. Nasby
1 parent 0bbd470 commit 92a2648

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/src/sgml/ref/declare.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.34 2006/01/18 06:49:26 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/declare.sgml,v 1.35 2006/02/12 19:02:15 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -129,7 +129,9 @@ DECLARE <replaceable class="parameter">name</replaceable> [ BINARY ] [ INSENSITI
129129
execution plan, specifying <literal>SCROLL</literal> may impose
130130
a performance penalty on the query's execution time.
131131
<literal>NO SCROLL</literal> specifies that the cursor cannot be
132-
used to retrieve rows in a nonsequential fashion.
132+
used to retrieve rows in a nonsequential fashion. The default is to
133+
allow scrolling, but this is not the same as specifying
134+
<literal>SCROLL</literal>. See <xref linkend="notes"> for more details.
133135
</para>
134136
</listitem>
135137
</varlistentry>
@@ -198,7 +200,7 @@ DECLARE <replaceable class="parameter">name</replaceable> [ BINARY ] [ INSENSITI
198200
</para>
199201
</refsect1>
200202

201-
<refsect1>
203+
<refsect1 id="notes">
202204
<title>Notes</title>
203205

204206
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy