[sr-dev] [kamailio/kamailio] Let the partition column be configurable. (#1371)

oyvindkolbu notifications at github.com
Fri Dec 15 10:49:57 CET 2017


#### Type Of Change
- [X] Small bug fix (non-breaking change which fixes an issue)
- [X ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

#### Checklist:
- [X ] PR should be backported to stable branches
- [X] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)

When using xDB Replication Server with PostgreSQL, "partition" is a reserved
name and breaks replication. Therefore let the column name be configurable.

An even better fix would be to also change the default name, as "partition" is a
SQL key word which is reserved by SQL:2011. See
https://www.postgresql.org/docs/current/static/sql-keywords-appendix.html
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Let the partition column be configurable.

-- File Changes --

    M src/modules/usrloc/doc/usrloc_admin.xml (20)
    M src/modules/usrloc/usrloc_mod.c (1)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1371.patch
https://github.com/kamailio/kamailio/pull/1371.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/1371
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171215/bab86e5f/attachment.html>


More information about the sr-dev mailing list