Re: Question regarding pg_restore - Mailing list pgsql-novice

From Tom Lane
Subject Re: Question regarding pg_restore
Date
Msg-id 3410.1127484244@sss.pgh.pa.us
Whole thread Raw
In response to Question regarding pg_restore  (Wye Jon Lee <wyejonlee@gmail.com>)
Responses Re: Question regarding pg_restore  (Wye Jon Lee <wyejonlee@gmail.com>)
List pgsql-novice
Wye Jon Lee <wyejonlee@gmail.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

pgsql-novice by date:

Previous
From: Frank Bax
Date:
Subject: Re: Import dbf data
Next
From: John DeSoi
Date:
Subject: Re: Bytea and pg_dump/dumpall