|
|
|
|
@ -6,7 +6,7 @@ |
|
|
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group |
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California |
|
|
|
|
* |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.218 2002/03/08 06:55:08 tgl Exp $ |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.219 2002/03/10 06:02:23 momjian Exp $ |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
|
@ -16,6 +16,7 @@ |
|
|
|
|
#include "access/heapam.h" |
|
|
|
|
#include "catalog/catname.h" |
|
|
|
|
#include "catalog/heap.h" |
|
|
|
|
#include "catalog/index.h" |
|
|
|
|
#include "catalog/pg_index.h" |
|
|
|
|
#include "catalog/pg_type.h" |
|
|
|
|
#include "nodes/makefuncs.h" |
|
|
|
|
@ -1048,7 +1049,7 @@ transformIndexConstraints(ParseState *pstate, CreateStmtContext *cxt) |
|
|
|
|
index->idxname = NULL; /* will set it later */ |
|
|
|
|
|
|
|
|
|
index->relname = cxt->relname; |
|
|
|
|
index->accessMethod = "btree"; |
|
|
|
|
index->accessMethod = DEFAULT_INDEX_TYPE; |
|
|
|
|
index->indexParams = NIL; |
|
|
|
|
index->whereClause = NULL; |
|
|
|
|
|
|
|
|
|
|