setupdb.bat 274 B

12345678
  1. set PGHOME=C:\Program Files\PostgreSQL\8.3
  2. set PGDATA=%PGHOME%\data
  3. set PGLIB=%PGHOME%\lib
  4. set PGHOST=localhost
  5. set PATH=%PGHOME%\bin;%PATH%
  6. dropdb -U postgres stoneu
  7. createdb -U postgres -T template0 stoneu
  8. pg_restore -U postgres -d stoneu .\database\postgresql8.3.backup