This shows the new use of defaults.
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
This commit is contained in:
parent
3c237e7347
commit
2545844a10
@ -1,17 +1,17 @@
|
||||
.\" This is -*-nroff-*-
|
||||
.\" XXX standard disclaimer belongs here....
|
||||
.\" $Header: /cvsroot/pgsql/doc/man/Attic/create_index.l,v 1.1.1.1 1996/08/18 22:14:21 scrappy Exp $
|
||||
.\" $Header: /cvsroot/pgsql/doc/man/Attic/create_index.l,v 1.2 1996/09/19 20:07:15 scrappy Exp $
|
||||
.TH "CREATE INDEX" SQL 11/05/95 Postgres95 Postgres95
|
||||
.SH NAME
|
||||
create index \(em construct a secondary index
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
\fBcreate\fR \fBindex\fR index-name
|
||||
\fBon\fR classname \fBusing\fR am-name
|
||||
\fB(\fR attname type_class \fB)\fR
|
||||
\fBon\fR classname [\fBusing\fR am-name]
|
||||
\fB(\fR attname [type_class\fB] )\fR
|
||||
|
||||
\fBcreate\fR \fBindex\fR index-name
|
||||
\fBon\fR classname \fBusing\fR am-name
|
||||
\fBon\fR classname [\fBusing\fR am-name]
|
||||
\fB(\fR funcname \fB(\fR attname\-1 { , attname\-i } \fB)\fR type_class \fB)\fR
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
@ -20,6 +20,7 @@ This command constructs an index called
|
||||
.PP
|
||||
.IR Am-name
|
||||
is the name of the access method which is used for the index.
|
||||
The default access method is btree.
|
||||
.PP
|
||||
In the first syntax shown above, the key field for the index is
|
||||
specified as an attribute name and an associated
|
||||
@ -30,6 +31,8 @@ would use the
|
||||
.IR int4_ops
|
||||
class; this operator class includes comparison functions for four-byte
|
||||
integers.
|
||||
The default operator class is the appropriate operator class for
|
||||
that field type.
|
||||
.PP
|
||||
In the second syntax shown above, an index can be defined on the
|
||||
result of a user-defined function
|
||||
|
Loading…
x
Reference in New Issue
Block a user