add connect2postgres2 that will accept only database