From: Peter Eisentraut Date: Fri, 24 Jul 2009 19:54:36 +0000 (+0000) Subject: Fix the fix for the gist error message X-Git-Tag: REL8_3_8~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=def9d5f749a38396ae3a7961575124aefcd95564;p=postgresql Fix the fix for the gist error message --- diff --git a/src/backend/access/gist/gistsplit.c b/src/backend/access/gist/gistsplit.c index 81ab79a6f7..e6e9d1a4a0 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.")));