uninstall Postgres 9.4,
install 9.3,
backup the database using pg_dumpall > backup.sql,
uninstall Postgres 9.3,
install Postgres 9.4,
restore the databases using psql -d postgres -f backup.sql