src/port/gethostname.c sure looks like dead code - Mailing list pgsql-hackers

From Tom Lane
Subject src/port/gethostname.c sure looks like dead code
Date
Msg-id 9841.1422041559@sss.pgh.pa.us
Whole thread Raw
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: pg_upgrade and rsync
Next
From: Stephen Frost
Date:
Subject: Re: pg_upgrade and rsync