Finished postgres setup