Re: PQConsumeinput stuck on recv - Mailing list pgsql-general

From Andres Freund
Subject Re: PQConsumeinput stuck on recv
Date
Msg-id 20180305210148.b3cydctauayprxlv@alap3.anarazel.de
Whole thread Raw
In response to Re: PQConsumeinput stuck on recv  (Andre Oliveira Freitas <afreitas@callixbrasil.com>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Andre Oliveira Freitas
Date:
Subject: Re: PQConsumeinput stuck on recv
Next
From: Tim Cross
Date:
Subject: Re: Best options for new PG instance