Skip to content
Snippets Groups Projects
Commit 24ff62d7 authored by Tom Lane's avatar Tom Lane
Browse files

Make new hints follow style guide.

parent 237be3cc
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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, ...@@ -393,8 +393,8 @@ _bt_insertonpg(Relation rel,
errmsg("index row size %lu exceeds btree maximum, %lu", errmsg("index row size %lu exceeds btree maximum, %lu",
(unsigned long) itemsz, (unsigned long) itemsz,
(unsigned long) BTMaxItemSize(page)), (unsigned long) BTMaxItemSize(page)),
errhint("Values larger than 1/3 of a buffer page cannot be indexed\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\n" "Consider a separate column containing an MD5 hash of the value, "
"or use full text indexing."))); "or use full text indexing.")));
/* /*
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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) ...@@ -499,8 +499,8 @@ _bt_buildadd(BTWriteState *wstate, BTPageState *state, BTItem bti)
errmsg("index row size %lu exceeds btree maximum, %lu", errmsg("index row size %lu exceeds btree maximum, %lu",
(unsigned long) btisz, (unsigned long) btisz,
(unsigned long) BTMaxItemSize(npage)), (unsigned long) BTMaxItemSize(npage)),
errhint("Values larger than 1/3 of a buffer page cannot be indexed\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\n" "Consider a separate column containing an MD5 hash of the value, "
"or use full text indexing."))); "or use full text indexing.")));
if (pgspc < btisz || pgspc < state->btps_full) if (pgspc < btisz || pgspc < state->btps_full)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment