postgresql connect

Change-Id: If382eb8729ed91dd9cd021c9be66783d8a0afd3f