Commit 073adc5a authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Added:

       Note: currently, only btree access method supports  multi-
       attribute indices.  Up to 7 keys may be specified.
parent 45165538
.\" 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 ...@@ -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. ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment