Skip site navigation (1) Skip section navigation (2)

Re: Question regarding pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Wye Jon Lee <wyejonlee(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Question regarding pg_restore
Date: 2005-09-23 14:04:04
Message-ID: 3410.1127484244@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
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

In response to

Responses

pgsql-novice by date

Next:From: John DeSoiDate: 2005-09-23 14:07:15
Subject: Re: Bytea and pg_dump/dumpall
Previous:From: Frank BaxDate: 2005-09-23 13:58:26
Subject: Re: Import dbf data

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group