Re: PQconsumeinput() may close the fd - Mailing list pgsql-general

From Laurenz Albe
Subject Re: PQconsumeinput() may close the fd
Date
Msg-id 7e60d1a4a536a12fdd1c15caae93bac79b0ab8b1.camel@cybertec.at
Whole thread Raw
Responses Re: PQconsumeinput() may close the fd
List pgsql-general
On Fri, 2022-10-21 at 07:27 +0300, Vasily Kulikov wrote:
> The problem is that sometimes PQconsumeInput() may close the connection

The function does nothing of the kind.  Is there an error response from
the function?  Perhaps something else, like a timeout in a network component,
closes the connections afterwards.

Can you find any corresponding messages in the PostgreSQL server log?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com



pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Mysterious performance degradation in exceptional cases
Next
From: Tom Lane
Date:
Subject: Re: PQconsumeinput() may close the fd