eulerto / pg_similarity

set of functions and operators for executing similarity queries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install on version 9.5

zloi47 opened this issue · comments

when running "make" in builds in directory for 9.4, what should I change to force it install on postgres 9.5?

Is postgres 9.5 in your PATH?

$ echo $PATH
$ export PATH=/home/foo/pg951/bin:$PATH
$ USE_PGXS=1 make

If it does not work, show me the commands.

I am somehow new to ubuntu actually, but when searching for pg_config in ubuntu, it shows only:

/usr/lib/postgresql/9.4/bin/pg_config
/usr/bin/pg_config

I installed posgresql-server-dev-9.5 and it fixed the problem.
When running cosine, it gives me error:

ERROR: argument exceeds the maximum length of 1024 bytes.

Any ideas how to increase limit?

PGS_MAX_STR_LEN at similarity.h