On Thu, Oct 14, 2010 at 2:59 PM, Dmitriy Igrishin <dmitigr@gmail.com> wrote: > Is there way to determine failed connection attempt due to invalid > authorization (libpq)?
I think this question would be more appropriate on pgsql-general. I suppose you would have to look at PQerrorMessage().