X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 25316D1B341 for ; Wed, 26 May 2004 08:21:12 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 11870-08 for ; Wed, 26 May 2004 08:20:53 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id A380FD1B349 for ; Wed, 26 May 2004 08:20:47 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i4QBKlSx023972 for ; Wed, 26 May 2004 11:20:47 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i4QB8UuC098297 for pgsql-admin@postgresql.org; Wed, 26 May 2004 11:08:30 GMT From: gstasica@poczta.onet.pl (Greg) X-Newsgroups: comp.databases.postgresql.admin Subject: Can't restore from pg_dump. Authentication failed Date: 26 May 2004 04:08:33 -0700 Organization: http://groups.google.com Lines: 19 Message-ID: <4b5a2964.0405260308.de9639d@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/321 X-Sequence-Number: 13637 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 Could anybody help me.