Added postgresql9 method script