updated lib/connect-postsql.js