pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Andre Oliveira Freitas <afreitas@callixbrasil.com>
Cc: pgsql-general@postgresql.org
Subject: Re: PQConsumeinput stuck on recv
Date: Mon, 5 Mar 2018 13:01:48 -0800
Message-ID: <20180305210148.b3cydctauayprxlv@alap3.anarazel.de> (raw)
In-Reply-To: <CAN6ijTDFxyjKn9dqn+TJOTXbNzjU5H9fr1XH+2U4ojJb-TPz7Q@mail.gmail.com>
References: <CAN6ijTDiFnzeWyDkbcL9dYj6-G9nQAsW1gL6OK+bQMrUBgn8iQ@mail.gmail.com>
	<20180223172002.p22upnnwz2imsiwo@alap3.anarazel.de>
	<CAN6ijTBMOGCyzRx0wX_7sRchWkJv822jWREF=6c9EFbrg9S25A@mail.gmail.com>
	<20180223191000.jgmzqsjqikoijeyt@alap3.anarazel.de>
	<CAN6ijTAomqFVZD1r+oWOnQUnMZWfA7iskzsMWmvOmkBvTdu3Xg@mail.gmail.com>
	<20180302203641.vaojrm3fpzienfse@alap3.anarazel.de>
	<CAN6ijTDFxyjKn9dqn+TJOTXbNzjU5H9fr1XH+2U4ojJb-TPz7Q@mail.gmail.com>

Hi,

On 2018-03-05 17:57:51 -0300, Andre Oliveira Freitas wrote:
> Ok, on one hand glad to hear that is an artifact, on the other hand
> that means the issue is still out there...
> 
> I'm not a maintainer of Freeswitch, I am an user of it. However I am
> trying to supply the maintainers with any relevant information
> regarding this issue.
> 
> As you mentioned, I see the socket being modified and passed around in
> the source code. Do you think the implementation is OK? I do not know
> if that's standard practice when consuming libpq.

It's ok to pass the socket around, it'd not be ok to change whether the
socket blocks or not.  I don't have the time to review the freeswitch
code to see whether it does so.

- Andres




view thread (8+ messages)

Message-ID: <20180305210148.b3cydctauayprxlv@alap3.anarazel.de>
Permalink:  ../20180305210148.b3cydctauayprxlv@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180305210148.b3cydctauayprxlv@alap3.anarazel.de

 · 

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: andres@anarazel.de, afreitas@callixbrasil.com
  Subject: Re: PQConsumeinput stuck on recv
  In-Reply-To: <20180305210148.b3cydctauayprxlv@alap3.anarazel.de>
  References: <CAN6ijTDiFnzeWyDkbcL9dYj6-G9nQAsW1gL6OK+bQMrUBgn8iQ@mail.gmail.com> <20180223172002.p22upnnwz2imsiwo@alap3.anarazel.de> <CAN6ijTBMOGCyzRx0wX_7sRchWkJv822jWREF=6c9EFbrg9S25A@mail.gmail.com> <20180223191000.jgmzqsjqikoijeyt@alap3.anarazel.de> <CAN6ijTAomqFVZD1r+oWOnQUnMZWfA7iskzsMWmvOmkBvTdu3Xg@mail.gmail.com> <20180302203641.vaojrm3fpzienfse@alap3.anarazel.de> <CAN6ijTDFxyjKn9dqn+TJOTXbNzjU5H9fr1XH+2U4ojJb-TPz7Q@mail.gmail.com> <20180305210148.b3cydctauayprxlv@alap3.anarazel.de>

* 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