-
- Downloads
When reporting the server as not responding, if the hostname was
supplied, also print the IP address. This allows IPv4 and IPv6 failures to be distinguished. Also useful when a hostname resolves to multiple IP addresses. Also, remove use of inet_ntoa() and use our own inet_net_ntop() in all places, including in libpq, because it is thread-safe.
Showing
- doc/src/sgml/libpq.sgml 2 additions, 2 deletionsdoc/src/sgml/libpq.sgml
- src/backend/utils/adt/Makefile 1 addition, 1 deletionsrc/backend/utils/adt/Makefile
- src/backend/utils/adt/inet_cidr_ntop.c 0 additions, 235 deletionssrc/backend/utils/adt/inet_cidr_ntop.c
- src/include/port.h 4 additions, 0 deletionssrc/include/port.h
- src/include/utils/builtins.h 1 addition, 3 deletionssrc/include/utils/builtins.h
- src/interfaces/libpq/fe-connect.c 24 additions, 1 deletionsrc/interfaces/libpq/fe-connect.c
- src/port/Makefile 1 addition, 1 deletionsrc/port/Makefile
- src/port/getaddrinfo.c 5 additions, 7 deletionssrc/port/getaddrinfo.c
- src/port/inet_net_ntop.c 275 additions, 0 deletionssrc/port/inet_net_ntop.c
Loading
Please register or sign in to comment