Fixes for ETL for Postgres for Sanofi datatypes
DEAPP fixes copied from Postgres test server