Fixed postgresql configuration