Accept empty string as empty json body when calling an rpc (#832)
This commit is contained in:
committed by
Joe Nelson
parent
0b486ccf44
commit
9b4b45671c
Vendored
+9
@@ -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: -
|
||||
|
||||
Reference in New Issue
Block a user