Postgres: INSERT if does not exist already
I’m using Python to write to a postgres database: But because some of my rows are identical, I get the following error: How can I write an ‘INSERT unless this row already exists’ SQL statement? I’ve seen complex statements like this recommended: But firstly, is this overkill for what I need, and secondly, how can … Read more