Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6afea53

Browse files
committed
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
1 parent 74aa7e0 commit 6afea53

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

doc/src/sgml/file-fdw.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
<para>
189189
Changing table-level options requires being a superuser or having the privileges
190190
of the default role <literal>pg_read_server_files</literal> (to use a filename) or
191-
the default role <literal>pg_execute_server_programs</literal> (to use a program),
191+
the default role <literal>pg_execute_server_program</literal> (to use a program),
192192
for security reasons: only certain users should be able to control which file is
193193
read or which program is run. In principle regular users could be allowed to
194194
change the other options, but that's not supported at present.

doc/src/sgml/func.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16304,7 +16304,7 @@ SET search_path TO <replaceable>schema</replaceable> <optional>, <replaceable>sc
1630416304
optional parameter. The return value is <literal>NULL</literal> when the
1630516305
log format requested is not a configured
1630616306
<xref linkend="guc-log-destination"/>. The
16307-
<function>pg_current_logfiles</function> reflects the contents of the
16307+
<function>pg_current_logfile</function> reflects the contents of the
1630816308
<filename>current_logfiles</filename> file.
1630916309
</para>
1631016310

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6175,7 +6175,7 @@ char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
61756175
char *PQencryptPassword(const char *passwd, const char *user);
61766176
</synopsis>
61776177
<function>PQencryptPassword</function> is an older, deprecated version of
6178-
<function>PQencryptPasswodConn</function>. The difference is that
6178+
<function>PQencryptPasswordConn</function>. The difference is that
61796179
<function>PQencryptPassword</function> does not
61806180
require a connection object, and <literal>md5</literal> is always used as the
61816181
encryption algorithm.

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
12921292
<para>
12931293
When dumping logical replication subscriptions,
12941294
<application>pg_dump</application> will generate <command>CREATE
1295-
SUBSCRIPTION</command> commands that use the <literal>NOCONNECT</literal>
1295+
SUBSCRIPTION</command> commands that use the <literal>connect = false</literal>
12961296
option, so that restoring the subscription does not make remote connections
12971297
for creating a replication slot or for initial table copy. That way, the
12981298
dump can be restored without requiring network access to the remote

src/backend/postmaster/pgstat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3800,7 +3800,7 @@ pgstat_get_wait_io(WaitEventIO w)
38003800
event_name = "LockFileCreateSync";
38013801
break;
38023802
case WAIT_EVENT_LOCK_FILE_CREATE_WRITE:
3803-
event_name = "LockFileCreateWRITE";
3803+
event_name = "LockFileCreateWrite";
38043804
break;
38053805
case WAIT_EVENT_LOCK_FILE_RECHECKDATADIR_READ:
38063806
event_name = "LockFileReCheckDataDirRead";

0 commit comments

Comments
 (0)