Re: Simplify sleeping while reading/writing from client

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Simplify sleeping while reading/writing from client
Date: 2015-02-06 10:42:43
Message-ID: CAB7nPqRsyiCHxwwGBfMHwqRmA5oOdFd693fhpkYfRd9+QiXgKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 6, 2015 at 1:46 PM, Heikki Linnakangas wrote:
> It simplifies the code to do all the sleeping and interrupt handling code in
> the upper level, in secure_[read|write]. Do you see a problem with it?
Not directly. Reading the code I got uneasy with the fact that we fact
unconditionally those parameters even if port is in block mode.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2015-02-06 10:51:50 Re: New CF app deployment
Previous Message Andres Freund 2015-02-06 09:50:21 Re: Simplify sleeping while reading/writing from client