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

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

From
Tom Lane
Date:
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