Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92a2648

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 thata cursor requiring a sort isn't "simple enough" to support SCROLL.In any case, here's a patch that makes the non-standard behavior easierfor people to find.Jim C. Nasby
1 parent0bbd470 commit92a2648

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)

[8]ページ先頭

©2009-2025 Movatter.jp