This pull request is including two commits
1: adding `db_postgres` insert_update support 2: adding new parameters to `usrloc` that are not changing the default behaviour.
I added both to the same PR to highlight that the usage of insert_update will be immediately available for `usrloc` with `db_postgres` and `db_mysql` (maybe others, the ones not supporting it will simply revert to normal insert) You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1044
-- Commit Summary --
* db_postgress: insert_update() with DO UPDATE * usrloc: adding params
-- File Changes --
M src/modules/db_postgres/db_postgres.c (1) M src/modules/db_postgres/db_postgres.h (2) M src/modules/db_postgres/km_dbase.c (216) M src/modules/db_postgres/km_dbase.h (15) M src/modules/db_postgres/km_pg_con.c (4) M src/modules/db_postgres/km_res.c (1) M src/modules/db_postgres/pg_mod.c (4) M src/modules/usrloc/doc/usrloc_admin.xml (42) M src/modules/usrloc/ucontact.c (16) M src/modules/usrloc/usrloc_mod.c (7) M src/modules/usrloc/usrloc_mod.h (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1044.patch https://github.com/kamailio/kamailio/pull/1044.diff