postgresql on ubuntu scripts