Add word_similarity to pg_trgm contrib module.
Teodor Sigaev <teodor@sigaev.ru>
Add word_similarity to pg_trgm contrib module. Patch introduces a concept of similarity over string and just a word from another string. Version of extension is not changed because 1.2 was already introduced in 9.6 release cycle, so, there wasn't a public version. Author: Alexander Korotkov, Artur Zakirov
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_trgm/expected/pg_trgm.out | modified | +2 −2 |
| contrib/pg_trgm/Makefile | modified | +1 −1 |
| contrib/pg_trgm/pg_trgm--1.1--1.2.sql | modified | +63 −1 |
| contrib/pg_trgm/pg_trgm--1.2.sql | modified | +64 −0 |
| contrib/pg_trgm/sql/pg_trgm.sql | modified | +2 −2 |
| contrib/pg_trgm/trgm_gin.c | modified | +15 −5 |
| contrib/pg_trgm/trgm_gist.c | modified | +25 −8 |
| contrib/pg_trgm/trgm.h | modified | +22 −8 |
| contrib/pg_trgm/trgm_op.c | modified | +453 −48 |
| doc/src/sgml/pgtrgm.sgml | modified | +79 −0 |