Seting PG as database adpter