Safe Haskell | None |
---|---|
Language | Haskell2010 |
Database.PostgreSQL.PQTypes.Internal.C.Types
Description
Mappings of types used by libpq/libpqtypes to Haskell ADTs.
Documentation
data PGtypeArgs Source #
newtype ConnStatusType Source #
Constructors
ConnStatusType CInt |
Instances
Eq ConnStatusType Source # | |
Defined in Database.PostgreSQL.PQTypes.Internal.C.Types Methods (==) :: ConnStatusType -> ConnStatusType -> Bool # (/=) :: ConnStatusType -> ConnStatusType -> Bool # |
newtype PostgresPollingStatusType Source #
Constructors
PostgresPollingStatusType CInt |
Instances
Eq PostgresPollingStatusType Source # | |
Defined in Database.PostgreSQL.PQTypes.Internal.C.Types Methods (==) :: PostgresPollingStatusType -> PostgresPollingStatusType -> Bool # (/=) :: PostgresPollingStatusType -> PostgresPollingStatusType -> Bool # |
newtype ResultFormat Source #
Constructors
ResultFormat CInt |
newtype ExecStatusType Source #
Constructors
ExecStatusType CInt |
Instances
Eq ExecStatusType Source # | |
Defined in Database.PostgreSQL.PQTypes.Internal.C.Types Methods (==) :: ExecStatusType -> ExecStatusType -> Bool # (/=) :: ExecStatusType -> ExecStatusType -> Bool # |
newtype ErrorField Source #
Constructors
ErrorField CInt |
Instances
Eq ErrorField Source # | |
Defined in Database.PostgreSQL.PQTypes.Internal.C.Types |
Constructors
PGerror | |
Fields
|
Instances
Show PGerror Source # | |
Storable PGerror Source # | |
data PGregisterType Source #
Constructors
PGregisterType | |
Fields
|
Instances
Show PGregisterType Source # | |
Defined in Database.PostgreSQL.PQTypes.Internal.C.Types Methods showsPrec :: Int -> PGregisterType -> ShowS # show :: PGregisterType -> String # showList :: [PGregisterType] -> ShowS # | |
Storable PGregisterType Source # | |
Defined in Database.PostgreSQL.PQTypes.Internal.C.Types Methods sizeOf :: PGregisterType -> Int # alignment :: PGregisterType -> Int # peekElemOff :: Ptr PGregisterType -> Int -> IO PGregisterType # pokeElemOff :: Ptr PGregisterType -> Int -> PGregisterType -> IO () # peekByteOff :: Ptr b -> Int -> IO PGregisterType # pokeByteOff :: Ptr b -> Int -> PGregisterType -> IO () # peek :: Ptr PGregisterType -> IO PGregisterType # poke :: Ptr PGregisterType -> PGregisterType -> IO () # |
Constructors
PGarray | |
Fields
|
Instances
Show PGarray Source # | |
Storable PGarray Source # | |
Constructors
PGbytea | |
Fields
|
Instances
Show PGbytea Source # | |
Storable PGbytea Source # | |
Constructors
PGdate | |
Fields
|
Instances
Show PGdate Source # | |
Storable PGdate Source # | |
Constructors
PGtime | |
Fields
|
Instances
Show PGtime Source # | |
Storable PGtime Source # | |
data PGtimestamp Source #
Constructors
PGtimestamp | |
Fields
|
Instances
Show PGtimestamp Source # | |
Defined in Database.PostgreSQL.PQTypes.Internal.C.Types Methods showsPrec :: Int -> PGtimestamp -> ShowS # show :: PGtimestamp -> String # showList :: [PGtimestamp] -> ShowS # | |
Storable PGtimestamp Source # | |
Defined in Database.PostgreSQL.PQTypes.Internal.C.Types Methods sizeOf :: PGtimestamp -> Int # alignment :: PGtimestamp -> Int # peekElemOff :: Ptr PGtimestamp -> Int -> IO PGtimestamp # pokeElemOff :: Ptr PGtimestamp -> Int -> PGtimestamp -> IO () # peekByteOff :: Ptr b -> Int -> IO PGtimestamp # pokeByteOff :: Ptr b -> Int -> PGtimestamp -> IO () # peek :: Ptr PGtimestamp -> IO PGtimestamp # poke :: Ptr PGtimestamp -> PGtimestamp -> IO () # |