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

index 22f915c5920c9a53f85962a7ee52f42c4e0e57f2..fe0ebe2274b2001e4b45933894b32cf32a21ed2b 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.53 1999/01/21 22:48:11 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.54 1999/01/26 14:38:52 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -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);
            }