|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
.\" This is -*-nroff-*- |
|
|
|
|
.\" 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 |
|
|
|
|
.SH NAME |
|
|
|
|
create index \(em construct a secondary index |
|
|
|
@ -8,7 +8,7 @@ create index \(em construct a secondary index |
|
|
|
|
.nf |
|
|
|
|
\fBcreate\fR [\fBunique\fR] \fBindex\fR index-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 |
|
|
|
|
\fBon\fR classname [\fBusing\fR am-name] |
|
|
|
@ -34,6 +34,11 @@ integers. |
|
|
|
|
The default operator class is the appropriate operator class for |
|
|
|
|
that field type. |
|
|
|
|
.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 |
|
|
|
|
result of a user-defined function |
|
|
|
|
.IR funcname |
|
|
|
|