OSDN Git Service

Make new hints follow style guide.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Aug 2005 22:39:00 +0000 (22:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Aug 2005 22:39:00 +0000 (22:39 +0000)
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtsort.c

index a613b6b..57db2f5 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * 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,
                                 errmsg("index row size %lu exceeds btree maximum, %lu",
                                                (unsigned long) itemsz,
                                                (unsigned long) BTMaxItemSize(page)),
-                                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"
+                                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"
                                                 "or use full text indexing.")));
 
        /*
index edad76b..6bf9bcb 100644 (file)
@@ -56,7 +56,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * 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)
                                 errmsg("index row size %lu exceeds btree maximum, %lu",
                                                (unsigned long) btisz,
                                                (unsigned long) BTMaxItemSize(npage)),
-                                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"
+                                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"
                                                 "or use full text indexing.")));
 
        if (pgspc < btisz || pgspc < state->btps_full)