Tom Lane wrote: > Kurt Roeckx <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings