Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e9605a0

Browse files
committed
Even more duplicate word removal, in the spirit of the season
1 parent 0038110 commit e9605a0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

contrib/fuzzystrmatch/levenshtein.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ levenshtein_internal(text *s, text *t,
349349
* remaining portions of the strings are of equal length. There
350350
* are (n - 1) characters in the target string, of which j have
351351
* been transformed. There are (m - 1) characters in the source
352-
* string, so we want to find the value for zp where where (n - 1)
353-
* - j = (m - 1) - zp.
352+
* string, so we want to find the value for zp where (n - 1) - j =
353+
* (m - 1) - zp.
354354
*/
355355
int zp = j - (n - m);
356356

contrib/pgcrypto/crypt-md5.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ char *
3434
px_crypt_md5(const char *pw, const char *salt, char *passwd, unsigned dstlen)
3535
{
3636
static char *magic = "$1$"; /* This string is magic for this algorithm.
37-
* Having it this way, we can get get better
37+
* Having it this way, we can get better
3838
* later on */
3939
static char *p;
4040
static const char *sp,

src/backend/tsearch/wparser_def.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2508,7 +2508,7 @@ prsd_headline(PG_FUNCTION_ARGS)
25082508
List *prsoptions = (List *) PG_GETARG_POINTER(1);
25092509
TSQuery query = PG_GETARG_TSQUERY(2);
25102510

2511-
/* from opt + start and and tag */
2511+
/* from opt + start and end tag */
25122512
int min_words = 15;
25132513
int max_words = 35;
25142514
int shortword = 3;

0 commit comments

Comments
 (0)