From 199c6d5ed16c2f3e0c3576bd08037f78e71b5cb3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 2 Sep 2009 13:23:13 +0000 Subject: [PATCH] Improve picksplit debug message Missed this earlier because the translation site was broken for the 7.4 branch. --- src/backend/access/gist/gist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }