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

Commit5906d7e

Browse files
committed
Fix obsolete claim that only btree indexes support multiple columns;
GiST does now, too. (Someone needs to write a description of GiSTto add to this chapter. I don't know enough about it ...)
1 parent0729c4a commit5906d7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎doc/src/sgml/indices.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.25 2001/11/08 23:34:33 petere Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.26 2001/11/18 00:59:00 tgl Exp $ -->
22

33
<chapter id="indexes">
44
<title id="indexes-title">Indexes</title>
@@ -105,7 +105,7 @@ CREATE INDEX test1_id_index ON test1 (id);
105105

106106
<para>
107107
<productname>Postgres</productname> provides several index types:
108-
B-tree, R-tree, and Hash. Each index type is more appropriate for
108+
B-tree, R-tree,GiST,and Hash. Each index type is more appropriate for
109109
a particular query type because of the algorithm it uses.
110110
<indexterm>
111111
<primary>indexes</primary>
@@ -235,7 +235,7 @@ CREATE INDEX test2_mm_idx ON test2 (major, minor);
235235
</para>
236236

237237
<para>
238-
Currently, only the B-treeimplementation supports multicolumn
238+
Currently, only the B-treeand GiST implementations support multicolumn
239239
indexes. Up to 16 columns may be specified. (This limit can be
240240
altered when building <productname>Postgres</productname>; see the
241241
file <filename>pg_config.h</filename>.)
@@ -291,7 +291,7 @@ SELECT name FROM test2 WHERE major = <replaceable>constant</replaceable> OR mino
291291
<synopsis>
292292
CREATE UNIQUE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable> (<replaceable>column</replaceable> <optional>, ...</optional>);
293293
</synopsis>
294-
Only B-tree indexes can be declared unique.
294+
Currently, only B-tree indexes can be declared unique.
295295
</para>
296296

297297
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp