From: Gaetano Mendola <mendola@bigfoot.com>
To: Greg <gstasica@poczta.onet.pl>
Subject: Re: Can't restore from pg_dump. Authentication failed
Date: Wed, 26 May 2004 14:56:29 +0200
Message-ID: <40B493FD.7040205@bigfoot.com> (raw)
In-Reply-To: <4b5a2964.0405260308.de9639d@posting.google.com>
References: <4b5a2964.0405260308.de9639d@posting.google.com>
Greg wrote:
> Hi,
>
> Frankly I don't know what should I do more. The problem is:
> I've made a pg_dump from shell like that:
> pg_dump -Upostgres -O -D -Fc --file=baza.sql
>
> Copied the file to new server and from shell executed:
> linux:~ # pg_restore -d ppr -U postgres -i baza.sql
> The result is
> pg_restore: [archiver (db)] connection to database "ppr" failed:
> FATAL: IDENT authentication failed for user "postgres"
>
> I don't know what is going on since I can login to ppr database like
> that
> (in shell)
> su - postgres
> psql -dppr
try in this way:
su - postgres
psql -f baza.sql dppr
Regards
Gaetano Mendola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mendola@bigfoot.com, gstasica@poczta.onet.pl
Subject: Re: Can't restore from pg_dump. Authentication failed
In-Reply-To: <40B493FD.7040205@bigfoot.com>
References: <4b5a2964.0405260308.de9639d@posting.google.com> <40B493FD.7040205@bigfoot.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox