text-postgresql-0.0.2.3: 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 V6HostAddress #

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 #

Constructors

Inet NetAddress 

Instances

Eq Inet # 

Methods

(==) :: Inet -> Inet -> Bool #

(/=) :: Inet -> Inet -> Bool #

Ord Inet # 

Methods

compare :: Inet -> Inet -> Ordering #

(<) :: Inet -> Inet -> Bool #

(<=) :: Inet -> Inet -> Bool #

(>) :: Inet -> Inet -> Bool #

(>=) :: Inet -> Inet -> Bool #

max :: Inet -> Inet -> Inet #

min :: Inet -> Inet -> Inet #

Show Inet # 

Methods

showsPrec :: Int -> Inet -> ShowS #

show :: Inet -> String #

showList :: [Inet] -> ShowS #

newtype Cidr #

Constructors

Cidr NetAddress 

Instances

Eq Cidr # 

Methods

(==) :: Cidr -> Cidr -> Bool #

(/=) :: Cidr -> Cidr -> Bool #

Ord Cidr # 

Methods

compare :: Cidr -> Cidr -> Ordering #

(<) :: Cidr -> Cidr -> Bool #

(<=) :: Cidr -> Cidr -> Bool #

(>) :: Cidr -> Cidr -> Bool #

(>=) :: Cidr -> Cidr -> Bool #

max :: Cidr -> Cidr -> Cidr #

min :: Cidr -> Cidr -> Cidr #

Show Cidr # 

Methods

showsPrec :: Int -> Cidr -> ShowS #

show :: Cidr -> String #

showList :: [Cidr] -> ShowS #