postgresql-binary-0.4.0: Encoders and decoders for the PostgreSQL's binary format
Safe Haskell | None |
---|---|
Language | Haskell2010 |
PostgreSQLBinary.Decoder
Contents
Synopsis
typeD a =ByteString ->EitherText aSource
A function for decoding a byte string into a value.
time ::Bool ->DTimeOfDaySource
The decoding strategy depends on whether the server supportsinteger_datetimes
.
timetz ::Bool ->D (TimeOfDay,TimeZone)Source
The decoding strategy depends on whether the server supportsinteger_datetimes
.
timestamp ::Bool ->DLocalTimeSource
The decoding strategy depends on whether the server supportsinteger_datetimes
.
timestamptz ::Bool ->DUTCTimeSource
The decoding strategy depends on whether the server supportsinteger_datetimes
.
interval ::Bool ->DDiffTimeSource
The decoding strategy depends on whether the server supportsinteger_datetimes
.
Produced byHaddock version 2.15.0