Thread: Re: [PATCHES] Proposed patch to getaddrinfo.c to support
Does this fix IPv6 on Win32? --------------------------------------------------------------------------- Tom Lane wrote: > Andrew Dunstan <andrew@dunslane.net> writes: > >> Context diff, please, diff -c. > > > It needed dos2unix and pgindent as well. Here's a cleaned patch. > > Thanks to Chuck for doing this work. > > Applied, thanks. > > regards, tom lane > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
I believe so, yes, although I think that we should remove the HAVE_GETADDRINFO compile time test that Tom built into initdb.c the other day, so that it can fall through to this code. cheers andrew Bruce Momjian said: > > Does this fix IPv6 on Win32? > > --------------------------------------------------------------------------- > > Tom Lane wrote: >> Andrew Dunstan <andrew@dunslane.net> writes: >> >> Context diff, please, diff -c. >> >> > It needed dos2unix and pgindent as well. Here's a cleaned patch. >> > Thanks to Chuck for doing this work. >> >> Applied, thanks. >>
"Andrew Dunstan" <andrew@dunslane.net> writes: > I believe so, yes, although I think that we should remove the > HAVE_GETADDRINFO compile time test that Tom built into initdb.c the other > day, so that it can fall through to this code. Will do. BTW, when we are using getaddrinfo.c, is the gai_strerror routine therein sufficient for Windows? regards, tom lane