Extract PG setup to separate file
Fix postgres startup