etch-backports  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Source: ip4r  ]

Пакунок: postgresql-8.3-ip4r (1.03-2)

IPv4 and IPv4 range index types for PostgreSQL 8.3

This PostgreSQL module provides two data types, ip4 and ip4r, which can contain a single IPv4 address or a range of IPv4 addresses, respectively.

While PostgreSQL already has built-in types 'inet' and 'cidr', the authors of this module found that they had a number of requirements that were not addressed by the built-in type.

Firstly and most importantly, the built-in types have no support for index lookups of the form (column >>= parameter), i.e. where you have a table of IP address ranges and wish to find which ones include a given IP address. This requires an rtree or gist index to do efficiently, and also requires a way to represent IP address ranges that do not fall precisely on CIDR boundaries.

Secondly, the built-in inet/cidr are somewhat overloaded with semantics, with inet combining two distinct concepts (a netblock, and a specific IP within that netblock). Furthermore, they are variable length types (to support IPv6) with non-trivial overheads, and the authors (whose applications mainly deal in large volumes of single IPv4 addresses) wanted a more lightweight representation.

ip4r therefore supports two distinct data types (so far):

  ip4   - a single IPv4 address
  ip4r  - an arbitrary range of IPv4 addresses

Інші пакунки пов'язані з postgresql-8.3-ip4r

  • depends
  • recommends
  • suggests
  • dep: libc0.1 (>= 2.3) [kfreebsd-amd64, kfreebsd-i386]
    Бібліотека GNU C: спільні бібліотеки
    also a virtual package provided by libc0.1-udeb
  • dep: libc0.3 (>= 2.9) [hurd-i386]
    Бібліотека GNU C: спільні бібліотеки
    also a virtual package provided by libc0.3-udeb
  • dep: libc6 (>= 2.7-1) [not alpha, hurd-i386, ia64, kfreebsd-amd64, kfreebsd-i386]
    Бібліотека GNU C: спільні бібліотеки
    also a virtual package provided by libc6-udeb
  • dep: libc6.1 (>= 2.7-1) [alpha, ia64]
    Бібліотека GNU C: спільні бібліотеки
    also a virtual package provided by libc6.1-udeb
  • rec: postgresql-8.3
    Об'єктно-реляційна база даних SQL, сервер версії 8.3

Завантажити postgresql-8.3-ip4r

Завантаження для всіх доступних архітектур
Архітектура Розмір пакунка Розмір після встановлення Файли
alpha 24.7 kB132 kB [список файлів]
amd64 23.0 kB68 kB [список файлів]
armel 21.9 kB116 kB [список файлів]
hppa 22.6 kB120 kB [список файлів]
hurd-i386 20.8 kB116 kB [список файлів]
i386 21.7 kB64 kB [список файлів]
ia64 25.6 kB136 kB [список файлів]
kfreebsd-amd64 23.0 kB88 kB [список файлів]
kfreebsd-i386 21.7 kB82 kB [список файлів]
mips 21.2 kB124 kB [список файлів]
mipsel 21.1 kB124 kB [список файлів]
powerpc 24.3 kB128 kB [список файлів]
s390 24.5 kB124 kB [список файлів]
sparc 22.0 kB120 kB [список файлів]