diff options
author | Peter Eisentraut | 2009-06-24 15:16:22 +0000 |
---|---|---|
committer | Peter Eisentraut | 2009-06-24 15:16:22 +0000 |
commit | 0ea4761afbeabd5d9d71b6e974e00cb758150bda (patch) | |
tree | cd6e3ecad172bf86f56bb7db7661ae8736059b9c | |
parent | 7283ac64d8fb71869a2e3318864daa4e0e684def (diff) |
Correct grammar in picksplit debug messages
-rw-r--r-- | src/backend/access/gist/gistsplit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/gist/gistsplit.c b/src/backend/access/gist/gistsplit.c index 9f8a24b40e..efae325e69 100644 --- a/src/backend/access/gist/gistsplit.c +++ b/src/backend/access/gist/gistsplit.c @@ -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]); |