Adjust for postgres