BSD Ports

databases/pg_similarity 20160917_2 FreeBSD

Set of functions and operators for executing similarity queries

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
databases
Package size
27.0 KiB, 89.4 KiB installed

Description

pg_similarity is an extension to support similarity queries on PostgreSQL. The implementation is tightly integrated in the RDBMS in the sense that it defines operators so instead of the traditional operators (= and <>) you can use ~~~ and ! (any of these operators represents a similarity function).

pg_similarity has three main components:

* Functions: a set of functions that implements similarity algorithms available in the literature. These functions can be used as UDFs and, will be the base for implementing the similarity operators; * Operators: a set of operators defined at the top of similarity functions. They use similarity functions to obtain the similarity threshold and, compare its value to a user-defined threshold to decide if it is a match or not; * Session Variables: a set of variables that store similarity function parameters. Theses variables can be defined at run time.

In the other systems

SystemPortVersion
FreeBSDdatabases/pg_similarity20160917_2
DragonFlydatabases/pg_similarity20160917_2
HardenedBSDdatabases/pg_similarity20160917_2
GhostBSDdatabases/pg_similarity20160917_2

Install

Binary package:

pkg install postgresql14-pg_similarity

From the ports tree:

cd /usr/ports/databases/pg_similarity/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	postgresql14-pg_similarity>0:databases/pg_similarity

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest20160917_220160917_220160917_220160917_220160917_2
FreeBSD:14:quarterly20160917_220160917_2n/a20160917_220160917_2
FreeBSD:15:latest20160917_220160917_2n/a20160917_220160917_2
FreeBSD:15:quarterly20160917_220160917_2n/an/an/a
FreeBSD:16:latest20160917_220160917_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

USES
gmake pgsql:11-15
Service scripts
none

Files

distinfo 1
FileSizeSHA256
eulerto-pg_similarity-20160917-be1a8b0_GH0.tar.gz576276c990a211c6bc9f477fd401f5ecce102743b3e4811db73c233cdc79cc187ace9

Commit history 0

No commits in the history this site was built from.