1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-06 19:59:18 +03:00
Note: currently, only btree access method supports  multi-
       attribute indices.  Up to 7 keys may be specified.
This commit is contained in:
Vadim B. Mikheev 1997-05-14 01:38:34 +00:00
parent 45165538c5
commit 073adc5a25

View File

@ -1,6 +1,6 @@
.\" This is -*-nroff-*- .\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here.... .\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.5 1997/05/13 04:41:51 momjian Exp $ .\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.6 1997/05/14 01:38:34 vadim Exp $
.TH "CREATE INDEX" SQL 11/05/95 PostgreSQL PostgreSQL .TH "CREATE INDEX" SQL 11/05/95 PostgreSQL PostgreSQL
.SH NAME .SH NAME
create index \(em construct a secondary index create index \(em construct a secondary index
@ -8,7 +8,7 @@ create index \(em construct a secondary index
.nf .nf
\fBcreate\fR [\fBunique\fR] \fBindex\fR index-name \fBcreate\fR [\fBunique\fR] \fBindex\fR index-name
\fBon\fR classname [\fBusing\fR am-name] \fBon\fR classname [\fBusing\fR am-name]
\fB(\fR attname, ... [type_class\fB] )\fR \fB(\fR attname [type_class], ...\fB )\fR
\fBcreate\fR [\fBunique\fR] \fBindex\fR index-name \fBcreate\fR [\fBunique\fR] \fBindex\fR index-name
\fBon\fR classname [\fBusing\fR am-name] \fBon\fR classname [\fBusing\fR am-name]
@ -34,6 +34,11 @@ integers.
The default operator class is the appropriate operator class for The default operator class is the appropriate operator class for
that field type. that field type.
.PP .PP
\fBNote:\fR currently, only
.IR btree
access method supports multi-attribute indices.
Up to 7 keys may be specified.
.PP
In the second syntax shown above, an index can be defined on the In the second syntax shown above, an index can be defined on the
result of a user-defined function result of a user-defined function
.IR funcname .IR funcname