Re: win32 socket definition
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-01-10T06:23:50Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes: > On Wed, Jan 6, 2010 at 22:42, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Can't think of one, but you could try grepping for the socket-related >> syscalls to see what variables are referenced there. > Found two more by going over it again that way. > Unless there are objections, I will apply this version tomorrow. There's another copy of ListenSocket[] in the BackendParameters struct. I also wonder about postmaster.c's habit of using -1 for empty slots in ListenSocket ... how safe is that for Win64? regards, tom lane