fix: empty row on handler function
Closes https://github.com/PostgREST/postgrest/issues/3126
This commit is contained in:
committed by
Laurence Isla
parent
ec0f99c686
commit
cd62e39cd1
Vendored
+5
@@ -3517,6 +3517,11 @@ returns setof test.lines as $$
|
||||
select * from lines;
|
||||
$$ language sql;
|
||||
|
||||
create or replace function test.get_line (id int)
|
||||
returns "application/vnd.twkb" as $$
|
||||
select extensions.st_astwkb(geom)::"application/vnd.twkb" from lines where id = get_line.id;
|
||||
$$ language sql;
|
||||
|
||||
create or replace function test.get_shop_bles ()
|
||||
returns setof test.shop_bles as $$
|
||||
select * from shop_bles;
|
||||
|
||||
Reference in New Issue
Block a user