Re: Stats Collector Error 7.4beta1 and 7.4beta2
От | Jan Wieck |
---|---|
Тема | Re: Stats Collector Error 7.4beta1 and 7.4beta2 |
Дата | |
Msg-id | 3F57A842.6050904@Yahoo.com обсуждение исходный текст |
Ответ на | 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
|
Список | pgsql-hackers |
Kurt Roeckx wrote: > It could be useful to have a warning at the following line: > > if (memcmp(&fromaddr, &pgStatAddr, fromlen)) > continue; > > That way you can rule out that that is a problem. > > Anyway, I still didn't see the error message he got in the first > place. Maybe we're looking at the wrong thing? I think it's more this piece of code in postmaster/pgstat.c /* * The source address of the packet must be our own socket. * This ensures that only real hackersor our own backends * tell us something. (This should be redundant with a * kernel-level check dueto having used connect(), but let's * do it anyway.) */ if (memcmp(&fromaddr, &pgStatAddr, fromlen)) continue; Jan -- #======================================================================# # 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 по дате отправления: