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

Started by Tom Laneabout 11 years ago1 messageshackers
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers