URHBNFTIOFYOE5UAFMF7IKNS5Y5GQ5HM4YDLO5A4BTQET2CD3AHQC
create table FailedPaths (
path text primary key not null
);
create rule IdempotentInsert as on insert to FailedPaths
where exists (select 1 from FailedPaths where path = new.path)
do instead nothing;