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

Commit24ff62d

Browse files
committed
Make new hints follow style guide.
1 parent237be3c commit24ff62d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/backend/access/nbtree/nbtinsert.c

Lines changed: 3 additions & 3 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.122 2005/08/1021:36:45 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.123 2005/08/1022:39:00 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -393,8 +393,8 @@ _bt_insertonpg(Relation rel,
393393
errmsg("index row size %lu exceeds btree maximum, %lu",
394394
(unsigned long)itemsz,
395395
(unsigned long)BTMaxItemSize(page)),
396-
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\n"
396+
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,"
398398
"or use full text indexing.")));
399399

400400
/*

‎src/backend/access/nbtree/nbtsort.c

Lines changed: 3 additions & 3 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.92 2005/08/1021:36:45 momjian Exp $
59+
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtsort.c,v 1.93 2005/08/1022:39:00 tgl Exp $
6060
*
6161
*-------------------------------------------------------------------------
6262
*/
@@ -499,8 +499,8 @@ _bt_buildadd(BTWriteState *wstate, BTPageState *state, BTItem bti)
499499
errmsg("index row size %lu exceeds btree maximum, %lu",
500500
(unsigned long)btisz,
501501
(unsigned long)BTMaxItemSize(npage)),
502-
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\n"
502+
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,"
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