postgresql-binary-0.3.0: Encoders and decoders for the PostgreSQL's binary format
Safe Haskell | None |
---|---|
Language | Haskell2010 |
PostgreSQLBinary.Encoder
Contents
Synopsis
typeE a = a ->ByteStringSource
A function for rendering a value into a byte string.
A UTF-8-encoded char.
Note that since it's UTF-8-encoded not a "char" but a "text" OID should be used with it.
bytea ::E (EitherByteStringByteString)Source
Either a strict or a lazy bytestring.
time ::Bool ->ETimeOfDaySource
Encoding strategy depends on whether the server supportsinteger_datetimes
.
timetz ::Bool ->E (TimeOfDay,TimeZone)Source
Encoding strategy depends on whether the server supportsinteger_datetimes
.
Produced byHaddock version 2.15.0