aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistsplit.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-06-24 15:16:22 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-06-24 15:16:22 +0000
commit4183b10661b8c829b3187ca5a4c2c0faca0c4766 (patch)
tree0e072906964e5e7e3007efea73520da0e4e305bb /src/backend/access/gist/gistsplit.c
parent286518e6f4705ff8d9de225ea87c3c5574485517 (diff)
downloadpostgresql-4183b10661b8c829b3187ca5a4c2c0faca0c4766.tar.gz
postgresql-4183b10661b8c829b3187ca5a4c2c0faca0c4766.zip
Correct grammar in picksplit debug messages
Diffstat (limited to 'src/backend/access/gist/gistsplit.c')
-rw-r--r--src/backend/access/gist/gistsplit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/gist/gistsplit.c b/src/backend/access/gist/gistsplit.c
index c5e5f6f13ac..6c248346b35 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.10 2009/06/11 14:48:53 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/gist/gistsplit.c,v 1.11 2009/06/24 15:16:22 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -369,7 +369,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.")));
@@ -397,7 +397,7 @@ gistUserPicksplit(Relation r, GistEntryVector *entryvec, int attno, GistSplitVec
if (sv->spl_ldatum_exists || sv->spl_rdatum_exists)
{
- elog(LOG, "PickSplit method of %d columns of index '%s' doesn't support secondary split",
+ elog(LOG, "picksplit method for column %d of index \"%s\" doesn't support secondary split",
attno + 1, RelationGetRelationName(r));
supportSecondarySplit(r, giststate, attno, sv, v->spl_lattr[attno], v->spl_rattr[attno]);