aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-connect.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-08-14 09:57:48 +1200
committerThomas Munro <tmunro@postgresql.org>2022-08-14 09:57:48 +1200
commit52ea29045b79a5f996e454ac6c7f3bcd64aef572 (patch)
tree4b23198477e801d1cb87bb67cb1fa5efce1537fd /src/interfaces/libpq/fe-connect.c
parent5579388d2dda60ded329a4623f9b4529e91a1b24 (diff)
downloadpostgresql-52ea29045b79a5f996e454ac6c7f3bcd64aef572.tar.gz
postgresql-52ea29045b79a5f996e454ac6c7f3bcd64aef572.zip
Remove configure probe for gethostbyname_r.
It was only used by src/port/getaddrinfo.c, removed by the previous commit. Discussion: https://postgr.es/m/CA%2BhUKGJFLPCtAC58EAimF6a6GPw30TU_59FUY%3DGWB_kC%3DJEmVQ%40mail.gmail.com
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r--src/interfaces/libpq/fe-connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 0b8fabc7e81..1e057db336a 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -2229,7 +2229,7 @@ connectDBComplete(PGconn *conn)
* will not block.
* o If you do not supply an IP address for the remote host (i.e. you
* supply a host name instead) then PQconnectStart will block on
- * gethostbyname. You will be fine if using Unix sockets (i.e. by
+ * getaddrinfo. You will be fine if using Unix sockets (i.e. by
* supplying neither a host name nor a host address).
* o If your backend wants to use Kerberos authentication then you must
* supply both a host name and a host address, otherwise this function