\set ECHO none -- You should write your tests SELECT jsonrpc.execute(' { "jsonrpc": "2.0", "method": "subtract", "params": [ 42, 23 ], "id": 1 } '); execute ---------------------------------------------------------------------------------------------- {"id" : "1", "jsonrpc" : "2.0", "error" : {"code" : -32601, "message" : "Method not found"}} (1 row) ROLLBACK;