Skip to content

Commit 3607dd3

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 b3a5f01 commit 3607dd3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

doc/src/sgml/func.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16153,7 +16153,7 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
1615316153
optional parameter. The return value is <literal>NULL</literal> when the
1615416154
log format requested is not a configured
1615516155
<xref linkend="guc-log-destination">. The
16156-
<function>pg_current_logfiles</function> reflects the contents of the
16156+
<function>pg_current_logfile</function> reflects the contents of the
1615716157
<filename>current_logfiles</> file.
1615816158
</para>
1615916159

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6106,7 +6106,7 @@ char *PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
61066106
char *PQencryptPassword(const char *passwd, const char *user);
61076107
</synopsis>
61086108
<function>PQencryptPassword</> is an older, deprecated version of
6109-
<function>PQencryptPasswodConn</>. The difference is that
6109+
<function>PQencryptPasswordConn</>. The difference is that
61106110
<function>PQencryptPassword</> does not
61116111
require a connection object, and <literal>md5</> is always used as the
61126112
encryption algorithm.

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
12461246
<para>
12471247
When dumping logical replication subscriptions,
12481248
<application>pg_dump</application> will generate <command>CREATE
1249-
SUBSCRIPTION</command> commands that use the <literal>NOCONNECT</literal>
1249+
SUBSCRIPTION</command> commands that use the <literal>connect = false</literal>
12501250
option, so that restoring the subscription does not make remote connections
12511251
for creating a replication slot or for initial table copy. That way, the
12521252
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
@@ -3745,7 +3745,7 @@ pgstat_get_wait_io(WaitEventIO w)
37453745
event_name = "LockFileCreateSync";
37463746
break;
37473747
case WAIT_EVENT_LOCK_FILE_CREATE_WRITE:
3748-
event_name = "LockFileCreateWRITE";
3748+
event_name = "LockFileCreateWrite";
37493749
break;
37503750
case WAIT_EVENT_LOCK_FILE_RECHECKDATADIR_READ:
37513751
event_name = "LockFileReCheckDataDirRead";

0 commit comments

Comments
 (0)