Skip to content

Commit 4183b10

Browse files
committed
Correct grammar in picksplit debug messages
1 parent 286518e commit 4183b10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/access/gist/gistsplit.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gist/gistsplit.c,v 1.10 2009/06/11 14:48:53 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gist/gistsplit.c,v 1.11 2009/06/24 15:16:22 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -369,7 +369,7 @@ gistUserPicksplit(Relation r, GistEntryVector *entryvec, int attno, GistSplitVec
369369
{
370370
ereport(DEBUG1,
371371
(errcode(ERRCODE_INTERNAL_ERROR),
372-
errmsg("picksplit method for %d column of index \"%s\" failed",
372+
errmsg("picksplit method for column %d of index \"%s\" failed",
373373
attno + 1, RelationGetRelationName(r)),
374374
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.")));
375375

@@ -397,7 +397,7 @@ gistUserPicksplit(Relation r, GistEntryVector *entryvec, int attno, GistSplitVec
397397

398398
if (sv->spl_ldatum_exists || sv->spl_rdatum_exists)
399399
{
400-
elog(LOG, "PickSplit method of %d columns of index '%s' doesn't support secondary split",
400+
elog(LOG, "picksplit method for column %d of index \"%s\" doesn't support secondary split",
401401
attno + 1, RelationGetRelationName(r));
402402

403403
supportSecondarySplit(r, giststate, attno, sv, v->spl_lattr[attno], v->spl_rattr[attno]);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy