]> granicus.if.org Git - postgresql/blobdiff - src/backend/tsearch/ts_utils.c
Wording improvements
[postgresql] / src / backend / tsearch / ts_utils.c
index 3aeb478a339a82ee74e56a62bbe51464b731d3ae..4edd47a0822dfef2df0de4ca74b8a03ac0b3d885 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/tsearch/ts_utils.c,v 1.7 2007/11/15 22:25:16 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/tsearch/ts_utils.c,v 1.8 2007/12/27 13:02:48 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -69,7 +69,7 @@ comparestr(const void *a, const void *b)
 }
 
 /*
- * Reads a stopword file. Each word is run through 'wordop'
+ * Reads a stop-word file. Each word is run through 'wordop'
  * function, if given. wordop may either modify the input in-place,
  * or palloc a new version.
  */
@@ -89,7 +89,7 @@ readstoplist(const char *fname, StopList *s, char *(*wordop) (const char *))
                if ((hin = AllocateFile(filename, "r")) == NULL)
                        ereport(ERROR,
                                        (errcode(ERRCODE_CONFIG_FILE_ERROR),
-                                        errmsg("could not open stopword file \"%s\": %m",
+                                        errmsg("could not open stop-word file \"%s\": %m",
                                                        filename)));
 
                while ((line = t_readline(hin)) != NULL)