[libpq] Password authentication failed for user - Mailing list pgsql-interfaces

From Torsten Mager
Subject [libpq] Password authentication failed for user
Date
Msg-id 43C65F71.7060407@nugmbh.de
Whole thread Raw
Responses Re: [libpq] Password authentication failed for user
List pgsql-interfaces
Hello!

I have two different programs written in C. Both programs are compilied 
and linked to the same liqpq. Postgresql-7.4.7 is installed and used.

In both programs similar connections to the same database are made over 
network. On the server runs postgresql-7.3.4.

In one case everything is ok and the connection to the database works.

The other program does not work fine, the error-message "Password 
authentication failed for user" appears. If i change the configuration 
of the server in "pg_hba.conf" from "md5" to "password", everything 
works fine too.

What is the problem?!?


pgsql-interfaces by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: libpq and auth type
Next
From: Kashyap Jani
Date:
Subject: Getting data where select has a limit criteria