#### 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