Re: Proposal: RETURNING primary_key() - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Proposal: RETURNING primary_key()
Date
Msg-id CAMsr+YGqKHZTa5w32OV9uhHkumT3a7KHDc=Vi04WYZrLoSg+-g@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: RETURNING primary_key()  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Proposal: RETURNING primary_key()  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On 4 April 2016 at 10:13, Dave Cramer <pg@fastcrypt.com> wrote:
 
Async notification is the easier part, I wasn't aware that the ssl library had this problem though


AFAIK the issue is that even if there are bytes available on the underlying socket, the SSL lib doesn't know if that means there are bytes readable from the wrapped SSL socket. The traffic on the underlying socket could be renegotiation messages or whatever. 

We really need non-blocking reads.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Proposal: RETURNING primary_key()
Next
From: Stephen Frost
Date:
Subject: Re: Proposal: RETURNING primary_key()