A fix for postgre.