Skip to content

Commit 949ebbd

Browse files
committed
Mention MD5 function index for indexing long values.
1 parent e8b842b commit 949ebbd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/access/nbtree/nbtinsert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.123 2005/08/10 22:39:00 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.124 2005/08/11 13:22:33 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -394,7 +394,7 @@ _bt_insertonpg(Relation rel,
394394
(unsigned long) itemsz,
395395
(unsigned long) BTMaxItemSize(page)),
396396
errhint("Values larger than 1/3 of a buffer page cannot be indexed.\n"
397-
"Consider a separate column containing an MD5 hash of the value, "
397+
"Consider a function index of an MD5 hash of the value, "
398398
"or use full text indexing.")));
399399

400400
/*

src/backend/access/nbtree/nbtsort.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* Portions Copyright (c) 1994, Regents of the University of California
5757
*
5858
* IDENTIFICATION
59-
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtsort.c,v 1.93 2005/08/10 22:39:00 tgl Exp $
59+
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtsort.c,v 1.94 2005/08/11 13:22:33 momjian Exp $
6060
*
6161
*-------------------------------------------------------------------------
6262
*/
@@ -500,7 +500,7 @@ _bt_buildadd(BTWriteState *wstate, BTPageState *state, BTItem bti)
500500
(unsigned long) btisz,
501501
(unsigned long) BTMaxItemSize(npage)),
502502
errhint("Values larger than 1/3 of a buffer page cannot be indexed.\n"
503-
"Consider a separate column containing an MD5 hash of the value, "
503+
"Consider a function index of an MD5 hash of the value, "
504504
"or use full text indexing.")));
505505

506506
if (pgspc < btisz || pgspc < state->btps_full)

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