Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitacd5803

Browse files
committed
Standardize spelling of "nonblocking"
Only adjusted the user-exposed messages and documentation, not allsource code comments.
1 parent5286963 commitacd5803

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

‎doc/src/sgml/indexam.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ amrestrpos (IndexScanDesc scan);
746746
<para>
747747
When the <structfield>ampredlocks</> flag is not set, any scan using that
748748
index access method within a serializable transaction will acquire a
749-
non-blocking predicate lock on the full index. This will generate a
749+
nonblocking predicate lock on the full index. This will generate a
750750
read-write conflict with the insert of any tuple into that index by a
751751
concurrent serializable transaction. If certain patterns of read-write
752752
conflicts are detected among a set of concurrent serializable

‎doc/src/sgml/mvcc.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ SELECT pg_advisory_lock(q.id) FROM
13661366
<para>
13671367
As mentioned in <xref linkend="xact-serializable">, Serializable
13681368
transactions are just Repeatable Read transactions which add
1369-
non-blocking monitoring for dangerous patterns of read/write conflicts.
1369+
nonblocking monitoring for dangerous patterns of read/write conflicts.
13701370
When a pattern is detected which could cause a cycle in the apparent
13711371
order of execution, one of the transactions involved is rolled back to
13721372
break the cycle.

‎src/backend/libpq/pqcomm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ pq_set_nonblocking(bool nonblocking)
808808
{
809809
if (!pg_set_noblock(MyProcPort->sock))
810810
ereport(COMMERROR,
811-
(errmsg("could not set socket tonon-blocking mode: %m")));
811+
(errmsg("could not set socket tononblocking mode: %m")));
812812
}
813813
else
814814
{

‎src/backend/postmaster/postmaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6261,7 +6261,7 @@ InitPostmasterDeathWatchHandle(void)
62616261
if (fcntl(postmaster_alive_fds[POSTMASTER_FD_WATCH],F_SETFL,O_NONBLOCK))
62626262
ereport(FATAL,
62636263
(errcode_for_socket_access(),
6264-
errmsg_internal("could not set postmaster death monitoring pipe tonon-blocking mode: %m")));
6264+
errmsg_internal("could not set postmaster death monitoring pipe tononblocking mode: %m")));
62656265
#else
62666266

62676267
/*

‎src/interfaces/libpq/fe-auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ pg_krb5_sendauth(PGconn *conn)
285285
charsebuf[256];
286286

287287
printfPQExpBuffer(&conn->errorMessage,
288-
libpq_gettext("could not restorenon-blocking mode on socket: %s\n"),
288+
libpq_gettext("could not restorenonblocking mode on socket: %s\n"),
289289
pqStrerror(errno,sebuf,sizeof(sebuf)));
290290
ret=STATUS_ERROR;
291291
}

‎src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1666,7 +1666,7 @@ PQconnectPoll(PGconn *conn)
16661666
if (!pg_set_noblock(conn->sock))
16671667
{
16681668
appendPQExpBuffer(&conn->errorMessage,
1669-
libpq_gettext("could not set socket tonon-blocking mode: %s\n"),
1669+
libpq_gettext("could not set socket tononblocking mode: %s\n"),
16701670
SOCK_STRERROR(SOCK_ERRNO,sebuf,sizeof(sebuf)));
16711671
pqDropConnection(conn);
16721672
conn->addr_cur=addr_cur->ai_next;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp