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

Commit4213e5f

Browse files
committed
Add note that LIMIT without ORDER BY can produce outright nondeterministic
results. Necessary due to introduction of syncscan patch.
1 parenta3e3389 commit4213e5f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎doc/src/sgml/ref/select.sgml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/select.sgml,v 1.100 2007/05/15 19:13:55 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/select.sgml,v 1.101 2007/06/08 20:26:18 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -810,6 +810,14 @@ OFFSET <replaceable class="parameter">start</replaceable>
810810
to deliver the results of a query in any particular order unless
811811
<literal>ORDER BY</> is used to constrain the order.
812812
</para>
813+
814+
<para>
815+
It is even possible for repeated executions of the same <literal>LIMIT</>
816+
query to return different subsets of the rows of a table, if there
817+
is not an <literal>ORDER BY</> to enforce selection of a deterministic
818+
subset. Again, this is not a bug; determinism of the results is
819+
simply not guaranteed in such a case.
820+
</para>
813821
</refsect2>
814822

815823
<refsect2 id="SQL-FOR-UPDATE-SHARE">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp