[libpq] Password authentication failed for user

From: Torsten Mager <mager(at)nugmbh(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [libpq] Password authentication failed for user
Date: 2006-01-12 13:53:53
Message-ID: 43C65F71.7060407@nugmbh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?!?

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Kashyap Jani 2006-01-12 15:48:08 Getting data where select has a limit criteria
Previous Message Magnus Hagander 2006-01-11 18:25:29 Re: libpq and auth type