Обсуждение: pgsql/src/backend/libpq (pqcomm.c)

Поиск
Список
Период
Сортировка

pgsql/src/backend/libpq (pqcomm.c)

От
Tom Lane
Дата:
  Date: Sunday, May 21, 2000 @ 17:19:53
Author: tgl

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

Modified Files:
    pqcomm.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.