Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5dd3c56

Browse files
committed
Added documentation on new unique index capability.
1 parent4024d43 commit5dd3c56

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/bin/psql/psqlHelp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: psqlHelp.h,v 1.6 1996/10/07 02:32:39 momjian Exp $
8+
* $Id: psqlHelp.h,v 1.7 1996/11/16 05:45:47 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -64,7 +64,7 @@ static struct _helpStruct QL_HELP[] = {
6464
"create function <function_name> ([<type1>,...<typeN>]) returns <return_type>\n\tas '<object_filename>'|'<sql-queries>'\n\tlanguage 'c'|'sql'|'internal';"},
6565
{"create index",
6666
"construct an index",
67-
"create index <indexname> on <class_name> [using <access_method>] (<attr1>|<funcname>(<attr1>,...) [<type_class1>]);"},
67+
"create[unique]index <indexname> on <class_name> [using <access_method>] (<attr1>|<funcname>(<attr1>,...) [<type_class1>]);"},
6868
{"create operator",
6969
"create a user-defined operator",
7070
"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>]);"},

‎src/man/create_index.l

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.1 1996/11/14 10:15:55 scrappy Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.2 1996/11/16 05:45:56 momjian Exp $
44
.TH "CREATE INDEX" SQL 11/05/95 Postgres95 Postgres95
55
.SH NAME
66
create index\(em construct a secondary index
77
.SH SYNOPSIS
88
.nf
9-
\fBcreate\fR\fBindex\fR index-name
9+
\fBcreate\fR[\fBunique\fR]\fBindex\fR index-name
1010
\fBon\fR classname [\fBusing\fR am-name]
1111
\fB(\fR attname [type_class\fB])\fR
1212

13-
\fBcreate\fR\fBindex\fR index-name
13+
\fBcreate\fR[\fBunique\fR]\fBindex\fR index-name
1414
\fBon\fR classname [\fBusing\fR am-name]
1515
\fB(\fR funcname\fB(\fR attname\-1 { , attname\-i }\fB)\fR type_class\fB)\fR
1616
.fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp