How to determine failed connection attempt due to invalid authorization (libpq)?

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to determine failed connection attempt due to invalid authorization (libpq)?
Date: 2010-10-13 18:58:30
Message-ID: AANLkTi=XbC+D1OWJ4tUVmRvv__dARibJxHoX=WdvEkaF@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey all,

We using libpq. There is only CONNECTION_BAD status which
is signaled about failed connection. Nevertheless, is there way
to check validity of username / password ?

--
// Dmitriy.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2010-10-13 19:26:41 Re: Internationalisation of database content (text columns)
Previous Message Carlos Mennens 2010-10-13 18:06:51 Re: Adding a New Column Specifically In a Table