fix for postgres dialect warnings in repository.