Source: prefix Section: database Priority: optional Maintainer: Debian PostgreSQL Maintainers Uploaders: Dimitri Fontaine , Christoph Berg Build-Depends: debhelper (>= 9), postgresql-server-dev-all (>= 158~) Standards-Version: 4.3.0 Vcs-Browser: https://github.com/dimitri/prefix Vcs-Git: git://github.com/dimitri/prefix.git XS-Testsuite: autopkgtest Package: postgresql-11-prefix Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-11 Description: Prefix Range module for PostgreSQL This PostgreSQL module provides the prefix_range datatype, allowing to index searches such as finding the longest prefix matching a telephone number, having prefixes in a table and telephone number as a parameter: . select * from prefixes where prefix @> '0100091234'; . The prefix column has to be of type prefix_range, and any text field can get indexed by the provided GiST opclass.