Setup pg version