setup pg as database