From e4704001ea4c3d63b53e8783859ff598ef2f69e5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 10 Mar 2003 22:28:22 +0000 Subject: This patch fixes a bunch of spelling mistakes in comments throughout the PostgreSQL source code. Neil Conway --- contrib/tsearch/morph.c | 2 +- contrib/tsearch/query.c | 4 ++-- contrib/tsearch/rewrite.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/tsearch') 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 */ -- cgit v1.2.1