summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-01-15 08:47:08 +0900
committerMichael Paquier <michael@paquier.xyz>2019-01-15 08:47:08 +0900
commit6afea53c30d9ec841d593651ab7ae252801f64c5 (patch)
treef0ec154c4c5ab94aac4e617ed32bdbadc65ce876 /doc/src
parent74aa7e046e4a3927d506bc651261724539f67139 (diff)
Fix typos in documentation and for one wait event
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/file-fdw.sgml2
-rw-r--r--doc/src/sgml/func.sgml2
-rw-r--r--doc/src/sgml/libpq.sgml2
-rw-r--r--doc/src/sgml/ref/pg_dump.sgml2
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/file-fdw.sgml b/doc/src/sgml/file-fdw.sgml
index 955a13ab7d9..d80142b4fdf 100644
--- a/doc/src/sgml/file-fdw.sgml
+++ b/doc/src/sgml/file-fdw.sgml
@@ -188,7 +188,7 @@
<para>
Changing table-level options requires being a superuser or having the privileges
of the default role <literal>pg_read_server_files</literal> (to use a filename) or
- the default role <literal>pg_execute_server_programs</literal> (to use a program),
+ the default role <literal>pg_execute_server_program</literal> (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.
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 75e5fde799d..88af09213f0 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -16304,7 +16304,7 @@ SET search_path TO <replaceable>schema</replaceable> <optional>, <replaceable>sc
optional parameter. The return value is <literal>NULL</literal> when the
log format requested is not a configured
<xref linkend="guc-log-destination"/>. The
- <function>pg_current_logfiles</function> reflects the contents of the
+ <function>pg_current_logfile</function> reflects the contents of the
<filename>current_logfiles</filename> file.
</para>
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 39ac26cbe22..0f3475730ce 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -6175,7 +6175,7 @@ char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
char *PQencryptPassword(const char *passwd, const char *user);
</synopsis>
<function>PQencryptPassword</function> is an older, deprecated version of
- <function>PQencryptPasswodConn</function>. The difference is that
+ <function>PQencryptPasswordConn</function>. The difference is that
<function>PQencryptPassword</function> does not
require a connection object, and <literal>md5</literal> is always used as the
encryption algorithm.
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 93c0861942f..13d15c27dc3 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -1292,7 +1292,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
<para>
When dumping logical replication subscriptions,
<application>pg_dump</application> will generate <command>CREATE
- SUBSCRIPTION</command> commands that use the <literal>NOCONNECT</literal>
+ SUBSCRIPTION</command> commands that use the <literal>connect = false</literal>
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