Added postgresql configuration.