[sr-dev] [kamailio/kamailio] db_postgres insert_update and usrloc params (#1044)

Julien Chavanton notifications at github.com
Mon Mar 27 19:13:36 CEST 2017


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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1044
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170327/224498ec/attachment-0001.html>


More information about the sr-dev mailing list