pgsql/src/interfaces/libpq (fe-connect.c)

Started by Tom Laneover 26 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tom_lane___@unknown.user

Date: Sunday, May 21, 2000 @ 17:19:53
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq
from hub.org:/home/projects/pgsql/tmp/cvs-serv89253/interfaces/libpq

Modified Files:
fe-connect.c

----------------------------- Log Message -----------------------------

Remove calls to getprotobyname(), which we now know leaks memory on
some platforms --- and I also see that it is documented as not thread-
safe on HPUX and possibly other platforms. No good reason not to just
use IPPROTO_TCP constant from <netinet/in.h> instead.