cdr_pgsql.cl: REFACTOR Macro LENGTHEN_BUF
authorRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Sat, 23 Jan 2016 17:41:38 +0000 (14:41 -0300)
committerRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Sat, 23 Jan 2016 17:41:38 +0000 (14:41 -0300)
commit2fb45c7801cbb543b1be1efe400d255f3e8c9ce9
treeb430f330dc0b83004d38c5f2994e93eaa67ba8df
parent9a67730d79bb6bd1fe36c434d0990ae1394b84f5
cdr_pgsql.cl: REFACTOR Macro LENGTHEN_BUF

Remove repeated code on macro of assigned buffer to SQL vars.

Add table and connection name to log error message when is not possible
allocate memory.

Change-Id: I1fbf37d286a032d38fdda72a9f736356956c9ffe
cdr/cdr_pgsql.c