add postgres setting.