Got postgresql to work