Re: Stats Collector Error 7.4beta1 and 7.4beta2 - Mailing list pgsql-hackers

From Jan Wieck
Subject Re: Stats Collector Error 7.4beta1 and 7.4beta2
Date
Msg-id 3F58910F.90801@Yahoo.com
Whole thread Raw
In response to Re: Stats Collector Error 7.4beta1 and 7.4beta2  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Stats Collector Error 7.4beta1 and 7.4beta2  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Stats Collector Error 7.4beta1 and 7.4beta2  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Stats Collector Error 7.4beta1 and 7.4beta2  (Kurt Roeckx <Q@ping.be>)
List pgsql-hackers
Redhat 7.1 says
       The file descriptor sockfd must refer to a socket.  If the       socket is of type SOCK_DGRAM then the serv_addr
addressis       the address to which datagrams are sent  by  default,  and       the  only  address  from which
datagramsare received.  If
 

Looks like the test is obsolete. Any objections to remove it? Do people 
agree that it's a bugfix that can go into 7.4?


Jan

Tom Lane wrote:

> Kurt Roeckx <Q@ping.be> writes:
>> Then it connects to itself.  I don't get the logic behind that
>> howver.
> 
> At least on HPUX, the connect(2) man page saith
> 
>      If the socket is of type SOCK_DGRAM, connect() specifies the peer
>      address to which messages are to be sent, and the call returns
>      immediately.  Furthermore, this socket can only receive messages sent
>      from this address.
> 
> The "furthermore" is what we are after.
> 
>             regards, tom lane

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



pgsql-hackers by date:

Previous
From: "Relaxin"
Date:
Subject: Re: PG7.5
Next
From: Samuel A Horwitz
Date:
Subject: AIX 4.2.1 CVS head and SSL