Fix wording of "hostaddrs"
authorMagnus Hagander
Sun, 21 Jan 2018 12:40:55 +0000 (13:40 +0100)
committerMagnus Hagander
Sun, 21 Jan 2018 12:43:20 +0000 (13:43 +0100)
The field is still called "hostaddr", so make sure references use
"hostaddr values" instead.

Author: Michael Paquier 

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

index 7bc3c60128779035a175029fd0ea0bdd3b6c68ba..a2fbb5f01d3fb64844bb3ac0b4cc6a6210162372 100644 (file)
@@ -1010,8 +1010,8 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
        
 
        
-        A comma-separated list of hostaddrs is also accepted, in
-        which case each host in the list is tried in order. See
+        A comma-separated list of hostaddr values is also
+        accepted, in which case each host in the list is tried in order. See
          for details.
        
        
index 2839feef90cece73332d3315780c233d2e8327ef..92e91c4895a40fbba553bab9cc5d2f6fe7254268 100644 (file)
@@ -965,7 +965,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;
        }