Setup stuff after upgrading to postgres 9.3