pg_similarity

Started by Janek Sendrowskiover 12 years ago4 messagesgeneral
Jump to latest
#1Janek Sendrowski
janek12@web.de

<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div style="font-family: Verdana;font-size: 12.0px;">
<div>Now the Steps:</div>

<div>&#36; USE_PGXS=1 make<br/>
&#36; USE_PGXS=1 make install</div>

<div>are working.</div>

<div>But I still don&#39;t have the directory &#39;SHAREDIR/contrib/pg_similarity.sql&#39;</div>

<div>&nbsp;</div>

<div>Janek Sendrowski</div>

<div>&nbsp;</div>
</div></div></body></html>

#2Janek Sendrowski
janek12@web.de
In reply to: Janek Sendrowski (#1)
Re: pg_similarity

Now the Steps:
$ USE_PGXS=1 make
$ USE_PGXS=1 make install
are working.
But I still don't have the directory 'SHAREDIR/contrib/pg_similarity.sql'
 
Janek Sendrowski
 

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3Janek Sendrowski
janek12@web.de
In reply to: Janek Sendrowski (#2)
Re: pg_similarity

Thanks a lot!
Now it's working :)
 
Janek Sendrowksi

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#4Sachin Kotwal
kotsachin@gmail.com
In reply to: Janek Sendrowski (#1)
Re: pg_similarity

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.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general