ERROR: relation already exists

I had two cron jobs, both inserting some data into a postgres DB at the exact same time. One of them always failed to insert the data, because of a _relation already exists_ error. I think that it makes sense to catch the ```duplicate_table``` exception and always try to insert the data, but I did **not** test the proposed patch.