[sr-dev] [kamailio/kamailio] DB Postgres BLOB conversion for presence (#1255)

sergey-safarov notifications at github.com
Fri Sep 29 10:12:21 CEST 2017


Think yes. According [doc](https://www.postgresql.org/docs/devel/static/datatype-binary.html)
`The “hex” format encodes binary data as 2 hexadecimal digits per byte, most significant nibble first. The entire string is preceded by the sequence \x`
According logs kamailio got string with escape `\x`.
Also according same page
`The bytea type supports two external formats for input and output: PostgreSQL's historical “escape” format, and “hex” format. Both of these are always accepted on input. The output format depends on the configuration parameter bytea_output;`

I will try make workarround at table config

-- 
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/1255#issuecomment-333061390
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170929/7045affd/attachment.html>


More information about the sr-dev mailing list