Read only proc tx (#844)

This commit is contained in:
Joe Nelson
2017-04-07 12:52:16 -05:00
committed by GitHub
parent 77af16c9e4
commit 56bdf59e14
5 changed files with 50 additions and 14 deletions
+4
View File
@@ -41,10 +41,14 @@ data PgType = Scalar QualifiedIdentifier | Composite QualifiedIdentifier | Pseud
data RetType = Single PgType | SetOf PgType deriving (Eq, Show)
data ProcVolatility = Volatile | Stable | Immutable
deriving (Eq, Show)
data ProcDescription = ProcDescription {
pdName :: Text
, pdArgs :: [PgArg]
, pdReturnType :: RetType
, pdVolatility :: ProcVolatility
} deriving (Show, Eq)
type Schema = Text