Re: [HACKERS] listening addresses

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] listening addresses
Date: 2004-03-21 18:16:00
Message-ID: 405DDBE0.3060409@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:

>Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2004-03-21 18:46:31 Re: Reporting errors inside plpgsql/SPI queries
Previous Message Tom Lane 2004-03-21 18:11:49 Re: Syntax error reporting (was Re: [PATCHES] syntax error position "CREATE FUNCTION" bug fix)

Browse pgsql-patches by date

  From Date Subject
Next Message Jim Seymour 2004-03-21 20:49:14 Re: [HACKERS] 7.4.2 Build broken on (Sparc) Solaris 7 and 8
Previous Message Andrew Dunstan 2004-03-21 18:12:38 Re: listening addresses