diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-07-24 19:54:36 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-07-24 19:54:36 +0000 |
commit | def9d5f749a38396ae3a7961575124aefcd95564 (patch) | |
tree | fe785c3eb3adc4693f5b6703990bb9e7289847db /src/backend/access/gist | |
parent | a88b3902362493f2f25c4c37306822f2eaa593db (diff) |
Fix the fix for the gist error message
Diffstat (limited to 'src/backend/access/gist')
-rw-r--r-- | src/backend/access/gist/gistsplit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/gist/gistsplit.c b/src/backend/access/gist/gistsplit.c index 81ab79a6f75..e6e9d1a4a08 100644 --- a/src/backend/access/gist/gistsplit.c +++ b/src/backend/access/gist/gistsplit.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/gist/gistsplit.c,v 1.5.2.2 2009/06/10 20:01:48 petere Exp $ + * $PostgreSQL: pgsql/src/backend/access/gist/gistsplit.c,v 1.5.2.3 2009/07/24 19:54:36 petere Exp $ * *------------------------------------------------------------------------- */ @@ -368,7 +368,7 @@ gistUserPicksplit(Relation r, GistEntryVector *entryvec, int attno, GistSplitVec { ereport(DEBUG1, (errcode(ERRCODE_INTERNAL_ERROR), - errmsg("picksplit method for %d column of index \"%s\" failed", + errmsg("picksplit method for column %d of index \"%s\" failed", attno+1, RelationGetRelationName(r)), errhint("The index is not optimal. To optimize it, contact a developer, or try to use the column as the second one in the CREATE INDEX command."))); |