pgsql: Remove no-longer-referenced src/port/gethostname.c. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove no-longer-referenced src/port/gethostname.c.
Date
Msg-id E1YF4Hy-0002fv-FP@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove no-longer-referenced src/port/gethostname.c.

This file hasn't been part of any build since 2005, and even before that
wasn't used unless you configured --with-krb4 (and had a machine without
gethostname(2), obviously).  What's more, we haven't actually called
gethostname anywhere since then, either (except in thread_test.c, whose
testing of this function is probably pointless).  So we don't need it.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9222cd84b0f227287f65df395d52dc7973a62d29

Modified Files
--------------
src/port/gethostname.c |   33 ---------------------------------
1 file changed, 33 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix assignment operator thinko
Next
From: Tom Lane
Date:
Subject: pgsql: Replace a bunch more uses of strncpy() with safer coding.