aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-09-02 13:23:13 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-09-02 13:23:13 +0000
commit199c6d5ed16c2f3e0c3576bd08037f78e71b5cb3 (patch)
treed13796724d32d5d55e71ef9d6472068f03637b3d /src/backend/access/gist/gist.c
parent322404c9586d639fedfd57e6e4ea460a295a18a3 (diff)
downloadpostgresql-199c6d5ed16c2f3e0c3576bd08037f78e71b5cb3.tar.gz
postgresql-199c6d5ed16c2f3e0c3576bd08037f78e71b5cb3.zip
Improve picksplit debug message
Missed this earlier because the translation site was broken for the 7.4 branch.
Diffstat (limited to 'src/backend/access/gist/gist.c')
-rw-r--r--src/backend/access/gist/gist.c6
1 files 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);
}