]> granicus.if.org Git - postgresql/commitdiff
Fix wording of "hostaddrs"
authorMagnus Hagander <magnus@hagander.net>
Sun, 21 Jan 2018 12:40:55 +0000 (13:40 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 21 Jan 2018 12:41:52 +0000 (13:41 +0100)
The field is still called "hostaddr", so make sure references use
"hostaddr values" instead.

Author: Michael Paquier <michael.paquier@gmail.com>

doc/src/sgml/libpq.sgml
src/interfaces/libpq/fe-connect.c

index 92c64b43d4a5789264b631bd3c0f9f708358ad2a..02884bae1ff97b626519c7ee17dd93e879bb9281 100644 (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>
index 8d543334aec04e2ccafe197204e9f8501d56c49b..77eebb0ba13dc6c7590ec6e6baba9dfb1e682529 100644 (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;
                }