8000 Fix call to index_create in DefineIndex. · postgrespro/postgres_cluster@aa1a887 · GitHub
[go: up one dir, main page]

Skip to content

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

Appearance settings

Commit aa1a887

Browse files
committed
Fix call to index_create in DefineIndex.
1 parent d656e02 commit aa1a887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/defind.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.10 1997/01/18 05:48:07 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.11 1997/03/19 07:52:03 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -193,7 +193,7 @@ DefineIndex(char *heapRelationName,
193193
classObjectId, relationId);
194194

195195
index_create(heapRelationName, indexRelationName, NULL,
196-
((IndexElem*)lfirst(attributeList))->tname,
196+
attributeList,
197197
accessMethodId, numberOfAttributes, attributeNumberA,
198198
classObjectId, parameterCount, parameterA, (Node*)cnfPred,
199199
lossy, unique);

0 commit comments

Comments
 (0)
0