Re: 7.4RC2 regression failur and not running stats collector

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kurt Roeckx <Q(at)ping(dot)be>, Derek Morr <dvm105(at)psu(dot)edu>, pgsql-hackers(at)postgresql(dot)org, pgsql-core(at)postgresql(dot)org
Subject: Re: 7.4RC2 regression failur and not running stats collector
Date: 2003-11-14 19:11:55
Message-ID: 200311141911.hAEJBtQ29576@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Kurt Roeckx <Q(at)ping(dot)be> writes:
> > So the for loop over the addresses that are returned should go
> > over both socket() and bind() instead of only socket(). And
> > probably connect() too.
> > The code now assumes if you create a socket of a certain type you
> > can actually use it.
>
> Ah, light dawns... the postmaster socket code does this correctly,
> but pgstat.c doesn't.
>
> Too bad we didn't figure this out yesterday. We are now in code freeze
> for 7.4 release, and I'm hesitant to apply a fix for what is arguably a
> broken platform. Core guys, time for a vote ... do we fix, or hold this
> for 7.4.1?

Must fix, I believe, especially if it is the same function call sequence
used by the postmaster so we have a high probability it will work on all
platforms.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-11-14 19:16:30 Re: [HACKERS] XML Docbook
Previous Message Josh Berkus 2003-11-14 19:07:43 Re: [CORE] 7.4RC2 regression failur and not running stats collector process