Fix up postgres setup scripts to work with PG 9.1
Updates and fixes to get this working again