databases/postgresql-prefix 1.2.10 FreeBSD
Prefix Range module for PostgreSQL
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- PostgreSQL
- Categories
- databases
- Package size
- 17.0 KiB, 51.6 KiB installed
Description
Prefix matching is both very common and important in telephony applications, where call routing and costs depend on matching caller/callee phone number to an operator prefix.
Let's say the prefixes table is called prefixes, a typical query will try to match a phone number to the longest prefix in the table:
SELECT * FROM prefixes WHERE prefix @> '0123456789' ORDER BY length(prefix) DESC LIMIT 1;
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/postgresql-prefix | 1.2.10 |
| DragonFly | databases/postgresql-prefix | 1.2.10 |
| MidnightBSD | databases/postgresql-prefix | 1.2.10_1 |
| HardenedBSD | databases/postgresql-prefix | 1.2.10 |
| GhostBSD | databases/postgresql-prefix | 1.2.10 |
Install
Binary package:
pkg install postgresql18-prefix
From the ports tree:
cd /usr/ports/databases/postgresql-prefix/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= postgresql18-prefix>0:databases/postgresql-prefix
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.2.10 | 1.2.10 | 1.2.9 | 1.2.10 | 1.2.10 |
| FreeBSD:14:quarterly | 1.2.10 | 1.2.10 | n/a | 1.2.10 | 1.2.10 |
| FreeBSD:15:latest | 1.2.10 | 1.2.10 | n/a | 1.2.10 | 1.2.10 |
| FreeBSD:15:quarterly | 1.2.10 | 1.2.10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.10 | 1.2.10 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Options name: databases_prefix
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- gmake pgsql:11+
- Service scripts
- none
Files
pkg-plist 7
- lib/postgresql/prefix.so
- share/doc/postgresql18-prefix/README.md
- share/doc/postgresql18-prefix/TESTS.md
- share/postgresql/extension/prefix--1.1--1.2.0.sql
- share/postgresql/extension/prefix--1.2.0.sql
- share/postgresql/extension/prefix--unpackaged--1.2.0.sql
- share/postgresql/extension/prefix.control
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| dimitri-prefix-v1.2.10_GH0.tar.gz | 75654 | 4342f251432a5f6fb05b8597139d3ccde8dcf87e8ca1498e7ee931ca057a8575 |
Commit history 0
No commits in the history this site was built from.