From: Peter Eisentraut Date: Wed, 2 Sep 2009 13:23:13 +0000 (+0000) Subject: Improve picksplit debug message X-Git-Tag: REL7_4_26~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=199c6d5ed16c2f3e0c3576bd08037f78e71b5cb3;p=thirdparty%2Fpostgresql.git Improve picksplit debug message Missed this earlier because the translation site was broken for the 7.4 branch. --- diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index 0fc21e36c90..5e628ff5991 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.105.4.2 2009/04/07 17:49:40 teodor Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.105.4.3 2009/09/02 13:23:13 petere Exp $ * *------------------------------------------------------------------------- */ @@ -1363,9 +1363,9 @@ gistSplit(Relation r, { ereport(DEBUG1, (errcode(ERRCODE_INTERNAL_ERROR), - errmsg("Picksplit method for first column of index \"%s\" failed", + errmsg("picksplit method for first column of index \"%s\" failed", RelationGetRelationName(r)), - errhint("Index is not optimal, to optimize it contact developer or try to use the column as a second one in create index command"))); + 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."))); genericPickSplit(giststate, entryvec, &v); }