PostgreSQL is missing here... like in the other PR but I totally forgot to mention it back then. The problem is that PostgreSQL does not support upserts but there are some workarounds.