I often use postgres server,so sometimes I have to make testing environment for postgres in my windows pc.
So I want to write how to make testing environment about Postgres for my memo.
Please login postgres server, and then you have to change user what this user is postgres user.
And I use pg_dump.
# pg_dump -f filename.sql.gz -Z 1 -c database-name
-f to write file about output.
-Z｡｡Number this is level of compression.
-c it is cleaning for schema.
You get dump file from server.And then you decompress file.
You install postgres in your windows PC. Please check Postgres sites.
Please copy dump file to there.
And please open command prompt and write this command.
cd Program FilesPostgresSQL8.3bin
And if you see these message.Please make user on for postgres.
psql: FATAL: role "･譯ｼ･ｶﾌｾ" does not exist､ﾈｸﾀ､??ｿ､饅r
please change user what this user is postgres user.