| From: | sachin kotwal <kotsachin(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: pg_similarity |
| Date: | 2013-10-17 10:07:52 |
| Message-ID: | 1382004472771-5774835.post@n5.nabble.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
I tried the installation as suggested at
http://pgsimilarity.projects.pgfoundry.org/
after make install command we have run following command:-
psql -f SHAREDIR/contrib/pg_similarity.sql mydb
Here SHAREDIR is /usr/local/pgsql/share/extension/
under this directory we can see file pg_similarity.sql and mydb is your
database name.
so provide correct path and database then pg_similarity will create it's
classes,functions and operators etc.
after that you can load pg_similarity using SQL command load
'pg_similarity'; or
copy a sample file at tarball (pg_similarity.conf.sample) to PGDATA (as
pg_similarity.conf) and include the following line in postgresql.conf:-
include 'pg_similarity.conf'
-----
Thanks and Regards,
Sachin Kotwal
NTT-DATA-OSS Center (Pune)
--
View this message in context: http://postgresql.1045698.n5.nabble.com/pg-similarity-tp5774125p5774835.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | sachin kotwal | 2013-10-17 11:31:15 | Re: C-language stored function and float4 type |
| Previous Message | Serge Fonville | 2013-10-17 09:16:10 | Re: PostgreSQL vs Mongo |