fix: no longer retries the transaction on 40001 errors

This commit is contained in:
Laurence Isla
2026-04-27 14:30:10 -05:00
parent bf758698b3
commit 41b86fffa5
8 changed files with 46 additions and 6 deletions
+4
View File
@@ -10,6 +10,10 @@ $$ language sql;
create table replica.items as select x as id from generate_series(1, 10) x;
create table replica.conflict as select x as id from generate_series(1, 1000000) x;
create view replica.conflict_view as select * from replica.conflict where (pg_sleep(0.01) is not null);
DROP ROLE IF EXISTS postgrest_test_anonymous;
CREATE ROLE postgrest_test_anonymous;