Обсуждение: src/port/gethostname.c sure looks like dead code

Поиск
Список
Период
Сортировка

src/port/gethostname.c sure looks like dead code

От
Tom Lane
Дата:
AFAICS there are no provisions to ever build this file, on any platform,
and have not been since 8.0.

If we did build it, it would likely fail on a large subset of platforms,
because it refers to a constant SYS_NMLN that isn't too portable.

I propose we just remove it.
        regards, tom lane