primary key support cleanups from D'Arcy...
authorMarc G. Fournier <scrappy@hub.org>
Tue, 26 Jan 1999 14:38:52 +0000 (14:38 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 26 Jan 1999 14:38:52 +0000 (14:38 +0000)
src/backend/tcop/utility.c

index 31739e8815633dafcc209c4d9ae70ab49d7dd578..7ef61008f77aa55f6df1f552862a4e5a0a7f38ad 100644 (file)
@@ -404,7 +404,7 @@ ProcessUtility(Node *parsetree,
                                                        stmt->indexParams,      /* parameters */
                                                        stmt->withClause,
                                                        stmt->unique,
-                                                       0,              /* CREATE INDEX can't be primary */
+                                                       stmt->primary,
                                                        (Expr *) stmt->whereClause,
                                                        stmt->rangetable);
                        }