Hi, PQexecFinish blocked in pqsocketpoll. As per blogs, it will not happen in localhost. We are using Postgres9.4 and server is running locally. Still it blocks in PQExecFinish. Since our application is multithreaded, We are using semaphore for each DB connection. please guide how to proceed. Thanks and Regards, S.Sangeetha. -- View this message in context: http://postgresql.nabble.com/PQexecFinish-blocked-forever-in-localhost-also-tp5921903.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general