mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
pgindent run for 9.0, second run
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* This is a port of the Double Metaphone algorithm for use in PostgreSQL.
|
||||
*
|
||||
* $PostgreSQL: pgsql/contrib/fuzzystrmatch/dmetaphone.c,v 1.14 2010/04/05 02:46:20 adunstan Exp $
|
||||
* $PostgreSQL: pgsql/contrib/fuzzystrmatch/dmetaphone.c,v 1.15 2010/07/06 19:18:55 momjian Exp $
|
||||
*
|
||||
* Double Metaphone computes 2 "sounds like" strings - a primary and an
|
||||
* alternate. In most cases they are the same, but for foreign names
|
||||
@ -461,7 +461,7 @@ DoubleMetaphone(char *str, char **codes)
|
||||
current += 1;
|
||||
break;
|
||||
|
||||
case '\xc7': /* C with cedilla */
|
||||
case '\xc7': /* C with cedilla */
|
||||
MetaphAdd(primary, "S");
|
||||
MetaphAdd(secondary, "S");
|
||||
current += 1;
|
||||
@ -1037,7 +1037,7 @@ DoubleMetaphone(char *str, char **codes)
|
||||
MetaphAdd(secondary, "N");
|
||||
break;
|
||||
|
||||
case '\xd1': /* N with tilde */
|
||||
case '\xd1': /* N with tilde */
|
||||
current += 1;
|
||||
MetaphAdd(primary, "N");
|
||||
MetaphAdd(secondary, "N");
|
||||
|
Reference in New Issue
Block a user