Wye Jon Lee <wyejonlee(at)gmail(dot)com> writes:
> I'm using the pg_restore utility in PostgreSQL 8.0.3 with the following command:
> pg_restore.exe -i -h localhost -p 5432 -U "username" -d databasename
> -v "outputfile.backup"
> pg_restore prompts me for a password and no matter what I key in it
> fails my login.
pg_restore's support for password prompting is broken on Windows in
8.0.3 :-(. It'll be fixed again in 8.0.4. Sorry about that. In the
meantime you could use a ~/.pgpass file (see documentation).
regards, tom lane