text-postgresql-0.0.1.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

type HostAddress = Word32 Source

Same as HostAddress of network package. Definition to reduce dependency.

data V6HostAddress Source

Not same as HostAddress6 of network package, because HostAddress6 has host-byteorder.

newtype Inet Source

Constructors

Inet NetAddress 

newtype Cidr Source

Constructors

Cidr NetAddress