Bruce Momjian <[EMAIL PROTECTED]> writes:
> Tom Lane wrote:
>> Hm.  A quick grep shows that our *only* use of gethostbyname is in
>> src/port/getaddrinfo.c.  Seems like we should omit this "porting
>> requirement" on platforms that have getaddrinfo.

> See the post I just made --- fe-secure.c calls pqGethostbyname(), and
> that should be converted to getaddrinfo

No, it should be diked out.  The call you are referring to is in code
that is #ifdef NOT_USED.  The whole routine is pretty broken anyway (not
IPv6-aware, for starters) and I think we should just rip it out rather
than try to bring it up to speed.

                        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