fix: Fix requests for overloaded functions from html forms to no longer hang

Fixes #1846
This commit is contained in:
Laurence Isla
2021-05-13 10:07:49 +02:00
committed by Wolfgang Walther
parent 082c91c855
commit b4ca70708a
3 changed files with 47 additions and 3 deletions
+16
View File
@@ -1267,6 +1267,22 @@ create or replace function test.overloaded(a text, b text, c text) returns text
select a || b || c
$$ language sql;
create or replace function test.overloaded_html_form() returns setof int as $$
values (1), (2), (3);
$$ language sql;
create or replace function test.overloaded_html_form(single_param json) returns json as $$
select single_param;
$$ language sql;
create or replace function test.overloaded_html_form(a int, b int) returns int as $$
select a + b
$$ language sql;
create or replace function test.overloaded_html_form(a text, b text, c text) returns text as $$
select a || b || c
$$ language sql;
create table test.leak(
id serial primary key,
blob bytea