problems restoring database from plain text backup from psql - Mailing list pgsql-novice

From Oleg
Subject problems restoring database from plain text backup from psql
Date
Msg-id 43A813AB.3010805@iwk.uka.de
Whole thread Raw
Responses Re: problems restoring database from plain text backup from psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
One more thing to mention is that this database is PostGIS enabled. So I
had to remove all CREATE FUNCTION commands in the backup file.
In the mean time I tried to restore with psql:
psql mydb < mybackup.sql -U postgres
Unfortunately I have no possibility to enter my password
Somehow password is entered automatically and prompt jumps over the
place where password should be entered. I am getting:
"psql: FATAL: password authentication failed for user "postgres""
Best regards
Oleg


pgsql-novice by date:

Previous
From: John DeSoi
Date:
Subject: Re: Login problem
Next
From: Tom Lane
Date:
Subject: Re: problems restoring database from plain text backup from psql