support postgresql socket connection