Encode JWT when proc return types end in jwt_claims

Fixes it when the jwt_claims type is defined in a non-default schema
This commit is contained in:
Joe Nelson
2015-11-05 17:46:33 -08:00
parent 4803d7c828
commit 3d2a78e962
+1 -1
View File
@@ -45,7 +45,7 @@ doesProcReturnJWT = doesProc [H.stmt|
ON pronamespace = n.oid
WHERE nspname = ?
AND proname = ?
AND pg_catalog.pg_get_function_result(p.oid) = 'jwt_claims'
AND pg_catalog.pg_get_function_result(p.oid) like '%jwt_claims'
|]
tableFromRow :: (Text, Text, Bool, Maybe Text) -> Table