"EXCEPTION: psql failed: DETAIL: Key (post_id)=(36946) is duplicated."

Great! So glad you got it!

@sam What is disturbing is that I thought that the explanation was that this was an issue with PG<13, but you’re running PG13.