]> granicus.if.org Git - postgresql/commit
Remove calls to getprotobyname(), which we now know leaks memory on
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 May 2000 21:19:53 +0000 (21:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 May 2000 21:19:53 +0000 (21:19 +0000)
commit1f0aff03c025b7e69718a4393fce19e9685cdacd
treee706d5663635cdae5c4153c3e1117d09a2cc9896
parent9dab9ab5e488e921ba6f948fa760566cd61e45a9
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.
src/backend/libpq/pqcomm.c
src/interfaces/libpq/fe-connect.c