Accept empty string as empty json body when calling an rpc (#832)

This commit is contained in:
Marios Koulakis
2017-03-27 21:34:03 -07:00
committed by Joe Nelson
parent 0b486ccf44
commit 9b4b45671c
4 changed files with 24 additions and 7 deletions
+9
View File
@@ -173,6 +173,15 @@ CREATE FUNCTION getitemrange(min bigint, max bigint) RETURNS SETOF items
SELECT * FROM test.items WHERE id > $1 AND id <= $2;
$_$;
--
-- Name: version(); Type: FUNCTION; Schema: test; Owner: -
--
CREATE FUNCTION noparamsproc() RETURNS text
LANGUAGE sql
AS $$
SELECT a FROM (VALUES ('Return value of no parameters procedure.')) s(a);
$$;
--
-- Name: insert_insertable_view_with_join(); Type: FUNCTION; Schema: test; Owner: -