summaryrefslogtreecommitdiff
path: root/contrib/tsearch
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-03-10 22:28:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-03-10 22:28:22 +0000
commite4704001ea4c3d63b53e8783859ff598ef2f69e5 (patch)
tree56d282d342ead04fc43af4efc5a2eccffa3e27ed /contrib/tsearch
parent081fa240a119b67e28227439a3bf700340442787 (diff)
downloadpostgresql-e4704001ea4c3d63b53e8783859ff598ef2f69e5.tar.gz
This patch fixes a bunch of spelling mistakes in comments throughout the
PostgreSQL source code. Neil Conway
Diffstat (limited to 'contrib/tsearch')
-rw-r--r--contrib/tsearch/morph.c2
-rw-r--r--contrib/tsearch/query.c4
-rw-r--r--contrib/tsearch/rewrite.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tsearch/morph.c b/contrib/tsearch/morph.c
index 3acbef9862..2455a72d8d 100644
--- a/contrib/tsearch/morph.c
+++ b/contrib/tsearch/morph.c
@@ -187,7 +187,7 @@ lemmatize(char *word, int *len, int type)
int oldlen = *len;
char *newword = (*(dict->lemmatize)) (dictobjs[nd], word, len);
- /* word is recognized by distionary */
+ /* word is recognized by dictionary */
if (newword != word || *len != oldlen)
{
if (dict->is_stemstoplemm &&
diff --git a/contrib/tsearch/query.c b/contrib/tsearch/query.c
index 9d5e126c5b..8253787320 100644
--- a/contrib/tsearch/query.c
+++ b/contrib/tsearch/query.c
@@ -79,7 +79,7 @@ typedef struct
char *buf;
int4 state;
int4 count;
- /* reverse polish notation in list (for temprorary usage) */
+ /* reverse polish notation in list (for temporary usage) */
NODE *str;
/* number in str */
int4 num;
@@ -247,7 +247,7 @@ pushval_morph(QPRS_STATE * state, int typeval, char *strval, int lenval)
#define STACKDEPTH 32
/*
- * make polish notaion of query
+ * make polish notation of query
*/
static int4
makepol(QPRS_STATE * state, void (*pushval) (QPRS_STATE *, int, char *, int))
diff --git a/contrib/tsearch/rewrite.c b/contrib/tsearch/rewrite.c
index 33e948faf8..6cd3cb14e7 100644
--- a/contrib/tsearch/rewrite.c
+++ b/contrib/tsearch/rewrite.c
@@ -116,7 +116,7 @@ freetree(NODE * node)
/*
* clean tree for ! operator.
- * It's usefull for debug, but in
+ * It's useful for debug, but in
* other case, such view is used with search in index.
* Operator ! always return TRUE
*/