From 5dd3c5620c938c78105c426085172886c54d89e6 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 16 Nov 1996 05:45:56 +0000 Subject: [PATCH] Added documentation on new unique index capability. --- src/bin/psql/psqlHelp.h | 4 ++-- src/man/create_index.l | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/psql/psqlHelp.h b/src/bin/psql/psqlHelp.h index 2863c47c8f..9ca2b4eaf0 100644 --- a/src/bin/psql/psqlHelp.h +++ b/src/bin/psql/psqlHelp.h @@ -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 ([,...]) returns \n\tas ''|''\n\tlanguage 'c'|'sql'|'internal';"}, { "create index", "construct an index", - "create index on [using ] (|(,...) []);"}, + "create [unique] index on [using ] (|(,...) []);"}, { "create operator", "create a user-defined operator", "create operator (\n\t[leftarg = ][,rightarg = ]\n\t,procedure = ,\n\t[,commutator = ][,negator = ]\n\t[,restrict = ][,hashes]\n\t[,join = ][,sort = ...]);"}, diff --git a/src/man/create_index.l b/src/man/create_index.l index b520bdb00a..a322865db5 100644 --- a/src/man/create_index.l +++ b/src/man/create_index.l @@ -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 -- 2.40.0