Imuroi lähdekoodipaketti 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.
|
|
|
| Arkkitehtuuri | Paketin koko | Koko asennettuna | Tiedostot |
|---|---|---|---|
| amd64 | 19.2 kt | 108 kt | [tiedostoluettelo] |
| armel | 17.9 kt | 104 kt | [tiedostoluettelo] |
| hppa | 19.7 kt | 108 kt | [tiedostoluettelo] |
| i386 | 18.5 kt | 104 kt | [tiedostoluettelo] |
| ia64 | 24.4 kt | 136 kt | [tiedostoluettelo] |
| mips | 17.6 kt | 116 kt | [tiedostoluettelo] |
| mipsel | 17.5 kt | 116 kt | [tiedostoluettelo] |
| powerpc | 20.9 kt | 116 kt | [tiedostoluettelo] |
| s390 | 21.0 kt | 116 kt | [tiedostoluettelo] |
| sparc | 18.5 kt | 108 kt | [tiedostoluettelo] |