Added documentation on new unique index capability.
This commit is contained in:
parent
4024d43069
commit
5dd3c5620c
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: psqlHelp.h,v 1.6 1996/10/07 02:32:39 momjian Exp $
|
||||
* $Id: psqlHelp.h,v 1.7 1996/11/16 05:45:47 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@ -64,7 +64,7 @@ static struct _helpStruct QL_HELP[] = {
|
|||
"create function <function_name> ([<type1>,...<typeN>]) returns <return_type>\n\tas '<object_filename>'|'<sql-queries>'\n\tlanguage 'c'|'sql'|'internal';"},
|
||||
{ "create index",
|
||||
"construct an index",
|
||||
"create index <indexname> on <class_name> [using <access_method>] (<attr1>|<funcname>(<attr1>,...) [<type_class1>]);"},
|
||||
"create [unique] index <indexname> on <class_name> [using <access_method>] (<attr1>|<funcname>(<attr1>,...) [<type_class1>]);"},
|
||||
{ "create operator",
|
||||
"create a user-defined operator",
|
||||
"create operator <operator_name> (\n\t[leftarg = <type1>][,rightarg = <type2>]\n\t,procedure = <func_name>,\n\t[,commutator = <com_op>][,negator = <neg_op>]\n\t[,restrict = <res_proc>][,hashes]\n\t[,join = <join_proc>][,sort = <sort_op1>...<sort_opN>]);"},
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
.\" This is -*-nroff-*-
|
||||
.\" XXX standard disclaimer belongs here....
|
||||
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.1 1996/11/14 10:15:55 scrappy Exp $
|
||||
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.2 1996/11/16 05:45:56 momjian 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
|
||||
\fBcreate\fR [\fBunique\fR] \fBindex\fR index-name
|
||||
\fBon\fR classname [\fBusing\fR am-name]
|
||||
\fB(\fR attname [type_class\fB] )\fR
|
||||
|
||||
\fBcreate\fR \fBindex\fR index-name
|
||||
\fBcreate\fR [\fBunique\fR] \fBindex\fR index-name
|
||||
\fBon\fR classname [\fBusing\fR am-name]
|
||||
\fB(\fR funcname \fB(\fR attname\-1 { , attname\-i } \fB)\fR type_class \fB)\fR
|
||||
.fi
|
||||
|
|
Loading…
Reference in New Issue