use postgresql, pg_similarity doesn't work though