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?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to