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


From: "Jie Liang" <jie(at)stbernard(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "postgres-list" <pgsql-admin(at)postgresql(dot)org>
Subject: rules
Date: 2004-05-19 17:14:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us] 
Sent: Tuesday, May 18, 2004 5:19 PM
To: Nico De Ranter
Cc: postgres-list
Subject: Re: [ADMIN] "IDENT authentication failed" but I'm not using

Nico De Ranter <nico(at)sonycom(dot)com> writes:
> \connect: FATAL:  IDENT authentication failed for user "nico"

> I changed /etc/postgresql/pg_hba.conf so it only contains
>   local    all     all   trust=20
> and restarted postgres but I still get the same error message. Any 
> idea why the import complains about IDENT authentication when=20 I'm 
> not even using it and how to get around it?

If you're getting that message then you *are* using IDENT auth. My bet
is that you changed the wrong config file.  /etc/postgresql is not a
very standard name for a Postgres data directory ...

> BTW: is there a way to create a database and then change ownership to 
> somebody else?

No, but you can do it in one step.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?


pgsql-admin by date

Next:From: Jie LiangDate: 2004-05-19 17:20:18
Subject: rules
Previous:From: Stefan HolzheuDate: 2004-05-19 16:14:04
Subject: Servercrash

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