[sr-dev] [kamailio/kamailio] [minor] sip_trace table column type and size issues (#2831)

Daniel-Constantin Mierla notifications at github.com
Mon Aug 23 21:02:07 CEST 2021


The postgres script (utils/kamctl/postgres/siptrace-create.sql) has type TEXT for msg field. I do not use postgres to be able to comment more, if something needs to be changed, a PR is appreciated.

For the fromip/toip, I increased the size in schema definition, but the sizes of columns can be adjusted as needed per deployment, there is no real constraint on size, as some db engines are size-less (eg., dbtext, db_berkeley) -- for those that have a size in the definition is more like what was commonly ok-ish so far.

-- 
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/issues/2831#issuecomment-904030859
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210823/b0d125df/attachment.htm>


More information about the sr-dev mailing list