Postgre compatible handling.