Re: pg_restore authentication failure

From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: Zeno Davatz <zdavatz(at)ywesee(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore authentication failure
Date: 2002-10-04 15:55:04
Message-ID: 20021004165504.H27710@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 02, 2002 at 04:35:28PM +0200, Zeno Davatz wrote:
> Hi List
>
> I done a pg_dumpall and now would like to load the data back into my new
> database. I am doing:
>
> psql -e nachahmer < /home/ywesee/pgsql/pgsqldump.sql
>
> And get:
> ERROR: Language plpgsql already exists
> \connect: FATAL 1: IDENT authentication failed for user "nachahmer"
>
> at the end of the message. Do you have any idea what could be wrong?
>
> My pg_hba.conf is:
> local all trust
> host all 127.0.0.1 255.255.255.255 trust

I think there is a new USER column in pg_hba.conf.
cf src/backend/libpq/pg_hba.conf.sample

# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
local all all trust
host all all 127.0.0.1 255.255.255.255 trust

Cheers,

Patrick

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Welche 2002-10-04 15:56:50 Re: Creating resultsets
Previous Message Bruce Momjian 2002-10-04 15:52:22 Re: speed of server side languages