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>
This commit is contained in:
Magnus Hagander 2018-01-21 13:40:55 +01:00
parent 815f84aa16
commit 5c15a54e85
2 changed files with 3 additions and 3 deletions

View File

@ -1010,8 +1010,8 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
</para>
<para>
A comma-separated list of <literal>hostaddrs</literal> is also accepted, in
which case each host in the list is tried in order. See
A comma-separated list of <literal>hostaddr</literal> values is also
accepted, in which case each host in the list is tried in order. See
<xref linkend="libpq-multiple-hosts"/> for details.
</para>
<para>

View File

@ -972,7 +972,7 @@ connectOptions2(PGconn *conn)
{
conn->status = CONNECTION_BAD;
printfPQExpBuffer(&conn->errorMessage,
libpq_gettext("could not match %d host names to %d hostaddrs\n"),
libpq_gettext("could not match %d host names to %d hostaddr values\n"),
count_comma_separated_elems(conn->pghost), conn->nconnhost);
return false;
}