Fix typos in documentation and for one wait event
authorMichael Paquier
Mon, 14 Jan 2019 23:47:14 +0000 (08:47 +0900)
committerMichael Paquier
Mon, 14 Jan 2019 23:47:14 +0000 (08:47 +0900)
These have been found while cross-checking for the use of unique words
in the documentation, and a wait event was not getting generated in a way
consistent to what the documentation provided.

Author: Alexander Lakhin
Discussion: https://postgr.es/m/9b5a3a85-899a-ae62-dbab-1e7943aa5ab1@gmail.com

doc/src/sgml/func.sgml
doc/src/sgml/libpq.sgml
doc/src/sgml/ref/pg_dump.sgml
src/backend/postmaster/pgstat.c

index 0915be0d6dff0fe6fca0af1bed24af1c59481c63..8fd1288dca9bcaf94ad352a9fe0ff42a2ad3565f 100644 (file)
@@ -16153,7 +16153,7 @@ SET search_path TO schema schema, ..
     optional parameter. The return value is NULL when the
     log format requested is not a configured
     .  The
-    pg_current_logfiles reflects the contents of the
+    pg_current_logfile reflects the contents of the
     current_logfiles file.
    
 
index e8ec495d0312802a11397faffad84836184242bb..ad2e3a4466d5365a1391a15f57be705ac7661103 100644 (file)
@@ -6106,7 +6106,7 @@ char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
 char *PQencryptPassword(const char *passwd, const char *user);
 
       PQencryptPassword is an older, deprecated version of
-      PQencryptPasswodConn. The difference is that
+      PQencryptPasswordConn. The difference is that
       PQencryptPassword does not
       require a connection object, and md5 is always used as the
       encryption algorithm.
index 4c63ebb7b0e0b83b987813342f9d17e686f47b0a..c221d2a080f573cb172bb876bda364c6c9f0ae4e 100644 (file)
@@ -1246,7 +1246,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
   
    When dumping logical replication subscriptions,
    pg_dump will generate CREATE
-   SUBSCRIPTION commands that use the NOCONNECT
+   SUBSCRIPTION commands that use the connect = false
    option, so that restoring the subscription does not make remote connections
    for creating a replication slot or for initial table copy.  That way, the
    dump can be restored without requiring network access to the remote
index 302c331c49399ae35ecb394f48c60a99a75ee368..ac658dcb24184bc99939a59385afb455134e6f67 100644 (file)
@@ -3745,7 +3745,7 @@ pgstat_get_wait_io(WaitEventIO w)
            event_name = "LockFileCreateSync";
            break;
        case WAIT_EVENT_LOCK_FILE_CREATE_WRITE:
-           event_name = "LockFileCreateWRITE";
+           event_name = "LockFileCreateWrite";
            break;
        case WAIT_EVENT_LOCK_FILE_RECHECKDATADIR_READ:
            event_name = "LockFileReCheckDataDirRead";