Re: [HACKERS] listening addresses - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: [HACKERS] listening addresses
Date
Msg-id 405DDBE0.3060409@dunslane.net
Whole thread Raw
In response to Re: [HACKERS] listening addresses  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] listening addresses  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches

Tom Lane wrote:

>Andrew Dunstan <andrew@dunslane.net> writes:
>
>
>>This patch attempts to implement the idea, with safety in case the
>>packet is not immediately available.
>>
>>
>
>Seems like you ought to be testing for failure returns from send() and
>recv().
>

Good point. will do.

>Also, what of EINTR from select()?
>
>
>

It will fail. Not sure what else it should do - I'm open to suggestions.
Retry?

cheers

andrew


pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: listening addresses
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] listening addresses