I have installed postgresql according to this, but I also need fuzzy string match functions, but I have no idea how to install these.
I have installed postgresql according to this, but I also need fuzzy string match functions, but I have no idea how to install these.
If you are looking for levenshtein or other functions in fuzzystrmatch package in postgresql 9.1, just do this:
Done.
If you can't find that extension, it's possible you didn't install postgres contrib.
for instance, on centos style os's:
For the Mac, the .sql files are in a folder such as /Library/PostgreSQL/8.3/share/postgresql/contrib
Based on the answer here in the context of a Rails migration, all it takes is:
Usually with a sql file full of functions, it is something like this: