aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2010-11-24 17:04:19 -0500
committerBruce Momjian <bruce@momjian.us>2010-11-24 17:04:19 -0500
commitba11258ccbf364d85de48b8b7fd46953ea7bb4f4 (patch)
tree94824222a24f4e98cb2af0e90f845a687eb38dac /src/backend/commands/dbcommands.c
parent725d52d0c27cffe8c99bb78e2b0d2480d5cd702b (diff)
downloadpostgresql-ba11258ccbf364d85de48b8b7fd46953ea7bb4f4.tar.gz
postgresql-ba11258ccbf364d85de48b8b7fd46953ea7bb4f4.zip
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.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions