fix: fix wrong http status on pg error 42P17 infinite recursion

This commit is contained in:
Taimoor Zaeem
2024-04-22 13:40:07 -05:00
committed by Steve Chavez
parent 80f83f0366
commit 88abf600c4
5 changed files with 18 additions and 0 deletions
+7
View File
@@ -3764,3 +3764,10 @@ create aggregate test.outfunc_agg (anyelement) (
create or replace function test.sleep(seconds double precision default 5) returns void as $$
select pg_sleep(seconds);
$$ language sql;
-- https://github.com/PostgREST/postgrest/issues/3256
create view test.infinite_recursion as
select * from test.projects;
create or replace view test.infinite_recursion as
select * from test.infinite_recursion;