Changes needed for Postgres and other databases.