Refactor rpc to not use count when returning scalar

This commit is contained in:
steve-chavez
2017-06-24 21:07:07 -05:00
parent 4cf1bcec64
commit ecd58e1ad2
4 changed files with 29 additions and 21 deletions
+3 -1
View File
@@ -137,7 +137,9 @@ accessibleProcs =
qi = QualifiedIdentifier schema name
pgType = case typ of
'c' -> Composite qi
'p' -> Pseudo name
'p' -> if name == "record" -- Only pg pseudo type that is a row type is 'record'
then Composite qi
else Scalar qi
_ -> Scalar qi -- 'b'ase, 'd'omain, 'e'num, 'r'ange
parseVolatility :: Char -> ProcVolatility