pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Vasily Kulikov <segoon@yandex-team.ru>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: PQconsumeinput() may close the fd
Date: Fri, 21 Oct 2022 16:18:59 +0200
Message-ID: <7e60d1a4a536a12fdd1c15caae93bac79b0ab8b1.camel@cybertec.at> (raw)
In-Reply-To: <53811666325878@mail.yandex-team.ru>
References: <53811666325878@mail.yandex-team.ru>

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





view thread (4+ messages)  latest in thread

Message-ID: <7e60d1a4a536a12fdd1c15caae93bac79b0ab8b1.camel@cybertec.at>
Permalink:  ../7e60d1a4a536a12fdd1c15caae93bac79b0ab8b1.camel@cybertec.at/
Also on:    postgresql.org/message-id/7e60d1a4a536a12fdd1c15caae93bac79b0ab8b1.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, segoon@yandex-team.ru
  Subject: Re: PQconsumeinput() may close the fd
  In-Reply-To: <7e60d1a4a536a12fdd1c15caae93bac79b0ab8b1.camel@cybertec.at>
  References: <53811666325878@mail.yandex-team.ru> <7e60d1a4a536a12fdd1c15caae93bac79b0ab8b1.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox