Re: [GENERAL] issue with host name lookup in PQconnectdb

2016-12-01 Thread Tom Lane
dharani kumar writes: > The problem i am facing is that PQconnectdb is blocking even though i > specified connect_timeout=10. My observation is below. > 1. To simulate this issue, i stopped the postgreSQL-x64-9.4 service and > executed my application. > 2.

[GENERAL] issue with host name lookup in PQconnectdb

2016-12-01 Thread dharani kumar
The problem i am facing is that PQconnectdb is blocking even though i specified connect_timeout=10. My observation is below. 1. To simulate this issue, i stopped the postgreSQL-x64-9.4 service and executed my application. 2. host=localhost is used, database present in the same machine. 3. I have a