changed to postgres 9.1