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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема src/port/gethostname.c sure looks like dead code
Дата
Msg-id 9841.1422041559@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pg_upgrade and rsync
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: pg_upgrade and rsync