Skip to content

Commit 24ff62d

Browse files
committed
Make new hints follow style guide.
1 parent 237be3c commit 24ff62d

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/10 21:36:45 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.123 2005/08/10 22: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/10 21:36:45 momjian Exp $
59+
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtsort.c,v 1.93 2005/08/10 22: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)
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