update import_cdr fix for Postgresql