Skip to content

Commit 42e2a58

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/[email protected]
1 parent de66987 commit 42e2a58

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
@@ -187,7 +187,7 @@
187187
<para>
188188
Changing table-level options requires being a superuser or having the privileges
189189
of the default role <literal>pg_read_server_files</literal> (to use a filename) or
190-
the default role <literal>pg_execute_server_programs</literal> (to use a program),
190+
the default role <literal>pg_execute_server_program</literal> (to use a program),
191191
for security reasons: only certain users should be able to control which file is
192192
read or which program is run. In principle regular users could be allowed to
193193
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
@@ -16399,7 +16399,7 @@ SET search_path TO <replaceable>schema</replaceable> <optional>, <replaceable>sc
1639916399
optional parameter. The return value is <literal>NULL</literal> when the
1640016400
log format requested is not a configured
1640116401
<xref linkend="guc-log-destination"/>. The
16402-
<function>pg_current_logfiles</function> reflects the contents of the
16402+
<function>pg_current_logfile</function> reflects the contents of the
1640316403
<filename>current_logfiles</filename> file.
1640416404
</para>
1640516405

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6205,7 +6205,7 @@ char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
62056205
char *PQencryptPassword(const char *passwd, const char *user);
62066206
</synopsis>
62076207
<function>PQencryptPassword</function> is an older, deprecated version of
6208-
<function>PQencryptPasswodConn</function>. The difference is that
6208+
<function>PQencryptPasswordConn</function>. The difference is that
62096209
<function>PQencryptPassword</function> does not
62106210
require a connection object, and <literal>md5</literal> is always used as the
62116211
encryption algorithm.

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
12901290
<para>
12911291
When dumping logical replication subscriptions,
12921292
<application>pg_dump</application> will generate <command>CREATE
1293-
SUBSCRIPTION</command> commands that use the <literal>NOCONNECT</literal>
1293+
SUBSCRIPTION</command> commands that use the <literal>connect = false</literal>
12941294
option, so that restoring the subscription does not make remote connections
12951295
for creating a replication slot or for initial table copy. That way, the
12961296
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
@@ -3799,7 +3799,7 @@ pgstat_get_wait_io(WaitEventIO w)
37993799
event_name = "LockFileCreateSync";
38003800
break;
38013801
case WAIT_EVENT_LOCK_FILE_CREATE_WRITE:
3802-
event_name = "LockFileCreateWRITE";
3802+
event_name = "LockFileCreateWrite";
38033803
break;
38043804
case WAIT_EVENT_LOCK_FILE_RECHECKDATADIR_READ:
38053805
event_name = "LockFileReCheckDataDirRead";

0 commit comments

Comments
 (0)