Download Source Package prefix:
This PostgreSQL module provides the prefix_range datatype, which allows 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.
|
|
|
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| amd64 | 19.0 kB | 108 kB | [list of files] |
| armel | 17.8 kB | 104 kB | [list of files] |
| hppa | 19.3 kB | 108 kB | [list of files] |
| i386 | 18.4 kB | 104 kB | [list of files] |
| ia64 | 24.0 kB | 136 kB | [list of files] |
| mips | 17.5 kB | 116 kB | [list of files] |
| mipsel | 17.4 kB | 116 kB | [list of files] |
| powerpc | 20.8 kB | 116 kB | [list of files] |
| s390 | 20.9 kB | 116 kB | [list of files] |
| sparc | 18.3 kB | 108 kB | [list of files] |