FreeBSD.software
Home/databases/postgresql17-prefix

postgresql17-prefix

1.2.10

Prefix Range module for PostgreSQL

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;

Origin: databases/postgresql-prefix
Category: databases
Size: 52.6KiB
License: PostgreSQL
Maintainer: lbartoletti@FreeBSD.org
Dependencies: 1 packages
Required by: 0 packages
$pkg install postgresql17-prefix

Dependencies (1)

More in databases