1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-29 16:21:20 +03:00

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 e477d148e7
commit d66cfe1bf4
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -965,7 +965,7 @@ connectOptions2(PGconn *conn)
{ {
conn->status = CONNECTION_BAD; conn->status = CONNECTION_BAD;
printfPQExpBuffer(&conn->errorMessage, 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); count_comma_separated_elems(conn->pghost), conn->nconnhost);
return false; return false;
} }