Make new hints follow style guide.

This commit is contained in:
Tom Lane 2005-08-10 22:39:00 +00:00
parent 237be3cc29
commit 24ff62d76f
2 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.122 2005/08/10 21:36:45 momjian Exp $
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.123 2005/08/10 22:39:00 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -393,8 +393,8 @@ _bt_insertonpg(Relation rel,
errmsg("index row size %lu exceeds btree maximum, %lu",
(unsigned long) itemsz,
(unsigned long) BTMaxItemSize(page)),
errhint("Values larger than 1/3 of a buffer page cannot be indexed\n"
"Consider a separate column containing an MD5 hash of the value\n"
errhint("Values larger than 1/3 of a buffer page cannot be indexed.\n"
"Consider a separate column containing an MD5 hash of the value, "
"or use full text indexing.")));
/*

View File

@ -56,7 +56,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtsort.c,v 1.92 2005/08/10 21:36:45 momjian Exp $
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtsort.c,v 1.93 2005/08/10 22:39:00 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -499,8 +499,8 @@ _bt_buildadd(BTWriteState *wstate, BTPageState *state, BTItem bti)
errmsg("index row size %lu exceeds btree maximum, %lu",
(unsigned long) btisz,
(unsigned long) BTMaxItemSize(npage)),
errhint("Values larger than 1/3 of a buffer page cannot be indexed\n"
"Consider a separate column containing an MD5 hash of the value\n"
errhint("Values larger than 1/3 of a buffer page cannot be indexed.\n"
"Consider a separate column containing an MD5 hash of the value, "
"or use full text indexing.")));
if (pgspc < btisz || pgspc < state->btps_full)