Why is insert_update doing nothing in Kamailio db insert_update ?

As explained in the following article the design of "UPSERT" in
PostgreSQL requires to be explicit about the constraint on which
we accept to do update modification to Kamailio database framework/API
would be required to expose which specific key constraint should be
handled as an update

http://pgeoghegan.blogspot.com/2015/10/avoid-naming-constraint-directly-when.html

In this first step, DO NOTHING is providing the simple feature to ignore
error on insert when facing a constraint violation


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1039

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.