Обсуждение: pg_similarity

Поиск
Список
Период
Сортировка

pg_similarity

От
janek12@web.de
Дата:
<div style="font-family: Verdana;font-size: 12.0px;"><div style="font-family: Verdana;font-size: 12.0px;"><div>Now the
Steps:</div><div>$USE_PGXS=1 make<br /> $ USE_PGXS=1 make install</div><div>are working.</div><div>But I still don't
havethe directory 'SHAREDIR/contrib/pg_similarity.sql'</div><div> </div><div>Janek
Sendrowski</div><div> </div></div></div>

Re: pg_similarity

От
sachin kotwal
Дата:
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.