Re: [GENERAL] How to determine failed connection attempt due to invalid authorization (libpq)?

2010-10-15 Thread Bob Pawley
, October 13, 2010 11:58 AM To: pgsql-general@postgresql.org Subject: [GENERAL] How to determine failed connection attempt due to invalid authorization (libpq)? Hey all, We using libpq. There is only CONNECTION_BAD status which is signaled about failed connection. Nevertheless, is there way

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

2010-10-13 Thread Dmitriy Igrishin
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.