mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +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:
parent
815f84aa16
commit
5c15a54e85
@ -1010,8 +1010,8 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
A comma-separated list of <literal>hostaddrs</literal> 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>
|
||||||
|
@ -972,7 +972,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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user