Some days ago, i had to to implement an upsert and used a a /LOCK TABLE/ to prevent the race conditions. Working fine for the moment. http://www.joocom.de/blog/postgresql-insert-und-update-in-einem-statement/ <http://www.joocom.de/blog/postgresql-insert-und-update-in-einem-statement/>
-- john r pierce 37N 122W somewhere on the middle of the left coast
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных