Fix typos in documentation and for one wait event
authorMichael Paquier
Mon, 14 Jan 2019 23:47:08 +0000 (08:47 +0900)
committerMichael Paquier
Mon, 14 Jan 2019 23:47:08 +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/file-fdw.sgml
doc/src/sgml/func.sgml
doc/src/sgml/libpq.sgml
doc/src/sgml/ref/pg_dump.sgml
src/backend/postmaster/pgstat.c

index 955a13ab7d9eb0f128ec6302667b51c245334d9d..d80142b4fdf3517f9c7f8206eb4c14efeed70be3 100644 (file)
  
   Changing table-level options requires being a superuser or having the privileges
   of the default role pg_read_server_files (to use a filename) or
-  the default role pg_execute_server_programs (to use a program),
+  the default role pg_execute_server_program (to use a program),
   for security reasons: only certain users should be able to control which file is
   read or which program is run.  In principle regular users could be allowed to
   change the other options, but that's not supported at present.
index 75e5fde799dfd4514b528aa3e325ba8306ba58f0..88af09213f08550f4791fe1ec6ed68a0e2ce7372 100644 (file)
@@ -16304,7 +16304,7 @@ SET search_path TO schema sc
     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 39ac26cbe224958c082dbf9772807753e0390836..0f3475730ce245a73846e4ace5783046d93504b7 100644 (file)
@@ -6175,7 +6175,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 93c0861942f6c90da1beb34efdca58957d71e574..13d15c27dc3de3a04ea1cfe1ff800a321ab4bd52 100644 (file)
@@ -1292,7 +1292,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 15852fe24ff970ea7b116f5af3178ad276844848..b8bad60a3054399b5140892c6e3710a90f5e82fa 100644 (file)
@@ -3800,7 +3800,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";