Commit Graph

38 Commits (REL9_1_STABLE)

Author SHA1 Message Date
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Robert Haas 604ab08145 Add levenshtein_less_equal, optimized version for small distances. 15 years ago
Robert Haas 12679b8bc9 In levenshtein_internal(), describe algorithm a bit more clearly. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Robert Haas 57d9aefcaa Teach levenshtein() about multi-byte characters. 16 years ago
Robert Haas 980341b3c2 Avoid using text_to_cstring() in levenshtein functions. 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Robert Haas da07641481 Fix levenshtein with costs. The previous code multiplied by the cost in only 16 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane bb6bbc3277 Defend against non-ASCII letters in fuzzystrmatch code. The functions 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane 55f6e5f689 Add a variant of the Levenshtein string-distance function that lets the user 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Bruce Momjian fb2b088cf4 Update /contrib/fuzzystrmatch error message to mention bytes, not just 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Bruce Momjian b538215d5d Remove a few baby-C macros in fuzzystrmatch. Add a few missing includes. 20 years ago
Tom Lane a0ffab351e Magic blocks don't do us any good unless we use 'em ... so install one 20 years ago
Neil Conway a323ede280 Fix a few places that were checking for the return value of palloc() to be 20 years ago
Bruce Momjian f3d99d160d Add CVS tag lines to files that were lacking them. 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Bruce Momjian c40cd3660f One of the web pages mentioned in dmetaphone.c has moved. Also fix 21 years ago
Neil Conway 1ac9f0e9f7 The attached patch implements the soundex difference function which 21 years ago
Bruce Momjian 2daed8c5b3 Update copyrights that were missed. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Joe Conway 13629df5a1 Add double metaphone code from Andrew Dunstan. Also change metaphone so that 22 years ago
Tom Lane 2f9c859ea1 Fix some copyright notices that weren't updated. Improve copyright tool 23 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Tom Lane 8fd5b3ed67 Error message editing in contrib (mostly by Joe Conway --- thanks Joe!) 23 years ago
Bruce Momjian 7b1f6ffaab Jim C. Nasby wrote: 23 years ago
Tom Lane e4704001ea This patch fixes a bunch of spelling mistakes in comments throughout the 23 years ago
Tom Lane ee051baeac Make sure that all <ctype.h> routines are called with unsigned char 24 years ago
Bruce Momjian cd01c32f55 Add trailing semicolon for Joe Conway 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Bruce Momjian fde8edaf53 Add do { ... } while (0) to more bad macros. 24 years ago
Bruce Momjian cdd02cdf00 Sorry - I should have gotten to this sooner. Here's a patch which you should 25 years ago
Bruce Momjian d8783c512e Per this discussion, here's a patch to implement both levenshtein() and 25 years ago