Commiting postgresql script