diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-11-15 21:52:30 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-11-15 21:52:30 +0000 |
commit | 6993743b1fde28e0ad9ed6fe60a13595ba383036 (patch) | |
tree | ad1622fc1eb2d8c26ee6d4b53d392301d62da717 /cel/cel_pgsql.c | |
parent | ece61f5ed1c88f097535cdceb91ce3c80b98adfb (diff) |
cel/cel_odbc: Provide microsecond precision in 'eventtime' column when possible
This patch adds microsecond precision when inserting a CEL record into a table
with an "eventtime" column of type timestamp, instead of second precision. The
documentation (configs/cel_odbc.conf.sample) was already saying that the
eventtime column included microseconds precision, but that was not the case.
Also, without this patch, if you had a table with an "eventtime" column of
type varchar, you had millisecond precision. With this patch, you also get
microsecond precision in this case.
Review: https://reviewboard.asterisk.org/r/3980
ASTERISK-24283 #close
Reported by: Etienne Lessard
patches:
cel_odbc_time_precision.patch uploaded by Etienne Lessard (License 6394)
........
Merged revisions 427952 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 427953 from http://svn.asterisk.org/svn/asterisk/branches/12
........
Merged revisions 427954 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@428010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cel/cel_pgsql.c')
0 files changed, 0 insertions, 0 deletions