Mapper for calling PL/pgSQL stored procedures in Python