Fix DB to postgresql params