configuration for postgresql adapter