We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3827f4e commit bc18c38Copy full SHA for bc18c38
src/backend/commands/defind.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.9 1996/11/13 20:48:22 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.10 1997/01/18 05:48:07 momjian Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -105,7 +105,10 @@ DefineIndex(char *heapRelationName,
105
heapRelationName);
106
}
107
relationId = tuple->t_oid;
108
-
+
109
+ if (unique && strcmp(accessMethodName,"btree") != 0)
110
+ elog(WARN, "DefineIndex: unique indexes are only available with the btree access method");
111
112
/*
113
* compute access method id
114
0 commit comments