Adding check for postgres configurations