Skip to content

Commit 5c15a54

Browse files
committed
Fix wording of "hostaddrs"
The field is still called "hostaddr", so make sure references use "hostaddr values" instead. Author: Michael Paquier <michael.paquier@gmail.com>
1 parent 815f84a commit 5c15a54

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,8 +1010,8 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
10101010
</para>
10111011

10121012
<para>
1013-
A comma-separated list of <literal>hostaddrs</literal> is also accepted, in
1014-
which case each host in the list is tried in order. See
1013+
A comma-separated list of <literal>hostaddr</literal> values is also
1014+
accepted, in which case each host in the list is tried in order. See
10151015
<xref linkend="libpq-multiple-hosts"/> for details.
10161016
</para>
10171017
<para>

src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ connectOptions2(PGconn *conn)
972972
{
973973
conn->status = CONNECTION_BAD;
974974
printfPQExpBuffer(&conn->errorMessage,
975-
libpq_gettext("could not match %d host names to %d hostaddrs\n"),
975+
libpq_gettext("could not match %d host names to %d hostaddr values\n"),
976976
count_comma_separated_elems(conn->pghost), conn->nconnhost);
977977
return false;
978978
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy