Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit949ebbd

Browse files
committed
Mention MD5 function index for indexing long values.
1 parente8b842b commit949ebbd

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/1022: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 aseparate column containing an MD5 hash of the value, "
397+
"Consider afunction 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/1022: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 aseparate column containing an MD5 hash of the value, "
503+
"Consider afunction 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)

[8]ページ先頭

©2009-2025 Movatter.jp