Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1c155c8

Browse files
committed
Add note clarifying that indexes that support ordered scans had better
allow clauseless scans.
1 parent eb4f58a commit 1c155c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/indexam.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/indexam.sgml,v 2.3 2005/03/27 23:52:51 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/indexam.sgml,v 2.4 2005/04/20 22:19:58 tgl Exp $
33
-->
44

55
<chapter id="indexam">
@@ -109,7 +109,8 @@ $PostgreSQL: pgsql/doc/src/sgml/indexam.sgml,v 2.3 2005/03/27 23:52:51 tgl Exp $
109109
such a scan should include null rows. In practice this means that
110110
indexes that support ordered scans (have <structfield>amorderstrategy</>
111111
nonzero) must index nulls, since the planner might decide to use such a
112-
scan as a substitute for sorting. Another restriction is that an index
112+
scan as a substitute for sorting. Such indexes must also be willing to
113+
run a scan with no scan keys at all. Another restriction is that an index
113114
access method that supports multiple index columns <emphasis>must</>
114115
support indexing null values in columns after the first, because the planner
115116
will assume the index can be used for queries on just the first

0 commit comments

Comments
 (0)