Postgresql – How to INSERT INTO a table (not UPDATE) on conflict, generating a new key value?
I have two Postgres tables as shown below, primary key is id: table1: id | name ---------- 1 | Bob 3 | Steven table2: id | name ---------- 2 | John 3 | Jack I would like to combine these…