Re: PQconsumeinput() may close the fd

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Vasily Kulikov <segoon(at)yandex-team(dot)ru>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PQconsumeinput() may close the fd
Date: 2022-10-21 14:18:59
Message-ID: 7e60d1a4a536a12fdd1c15caae93bac79b0ab8b1.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2022-10-21 14:40:28 Re: PQconsumeinput() may close the fd
Previous Message Laurenz Albe 2022-10-21 14:14:56 Re: Mysterious performance degradation in exceptional cases