set PGPASSWORD=system
"C:\Program Files\PostgreSQL\9.4\bin\dropDB" -h localhost -p 5432 -U postgres erasmus
"C:\Program Files\PostgreSQL\9.4\bin\createDB" -E UTF8 -h localhost -p 5432 -U postgres -O postgres erasmus
"C:\Program Files\PostgreSQL\9.4\bin\psql" -h localhost -p 5432 -U postgres erasmus < erasmus.dmp
"C:\Program Files\PostgreSQL\9.4\bin\psql" -U postgres -d erasmus -c "ALTER DATABASE erasmus SET bytea_output='escape';"
pause