~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-proposed

« back to all changes in this revision

Viewing changes to contrib/fuzzystrmatch/dmetaphone.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-05-19 14:03:37 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090519140337-wp9u2si99uppeb81
Tags: 8.4~beta2-2
* Second public beta of 8.4.
* debian/control: Slightly lower the dependencies for postgresql-common to
  >= 98~, so that backports also match.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * This is a port of the Double Metaphone algorithm for use in PostgreSQL.
3
3
 *
4
 
 * $PostgreSQL$
 
4
 * $PostgreSQL: pgsql/contrib/fuzzystrmatch/dmetaphone.c,v 1.12 2008/03/25 22:42:41 tgl Exp $
5
5
 *
6
6
 * Double Metaphone computes 2 "sounds like" strings - a primary and an
7
7
 * alternate. In most cases they are the same, but for foreign names