text-postgresql-0.0.2.0: Parser and Printer of PostgreSQL extended types

Copyright2015 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe
LanguageHaskell2010

Data.PostgreSQL.NetworkAddress

Description

This module defines network-address types of PostgreSQL. http://www.postgresql.org/docs/current/static/datatype-net-types.html

Synopsis

Documentation

data V4HostAddress Source

Host address type along with IPv4 address string.

Constructors

V4HostAddress !Word8 !Word8 !Word8 !Word8 

data V6HostAddress Source

Host address type along with IPv6 address string. Each Word16 value is host byte order. Host byte order is portable in programs on its own host. Network byte order is only needed, when communicating other hosts.

newtype Inet Source

Constructors

Inet NetAddress 

newtype Cidr Source

Constructors

Cidr NetAddress