Postgres on conflict do nothing example. I suspect that you want code_2 in the primary key.

Borneo - FACEBOOKpixBorneo - FACEBOOKpix