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

Paket: postgresql-8.3-ip4r (1.03-2~bpo40+1) [backports]

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

Andere Pakete mit Bezug zu postgresql-8.3-ip4r

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: libc6 (>= 2.3.5-1) [nicht alpha, i386, ia64]
    GNU C-Bibliothek: Dynamische Bibliotheken
    auch ein virtuelles Paket, bereitgestellt durch libc6-udeb
    dep: libc6 (>= 2.3.6-6) [i386]
  • dep: libc6.1 (>= 2.3.5-1) [alpha, ia64]
    GNU C-Bibliothek: Dynamische Bibliotheken
    auch ein virtuelles Paket, bereitgestellt durch libc6.1-udeb
  • rec: postgresql-8.3
    Objektrelationale SQL-Datenbank, Version 8.3, Server

postgresql-8.3-ip4r herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
alpha 24,0 kB128 kB [Liste der Dateien]
amd64 22,1 kB68 kB [Liste der Dateien]
hppa 23,1 kB120 kB [Liste der Dateien]
i386 21,3 kB116 kB [Liste der Dateien]
ia64 25,1 kB132 kB [Liste der Dateien]
powerpc 23,3 kB124 kB [Liste der Dateien]
s390 24,1 kB124 kB [Liste der Dateien]
sparc 21,6 kB116 kB [Liste der Dateien]