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

Commit7a37900

Browse files
committed
Make synchronous replication query cancel/die messages more consistent.
Per a gripe from Thom Brown about my previous commit in this area,commit9a56dc3.
1 parentc5eb835 commit7a37900

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/replication/syncrep.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN)
204204
{
205205
ereport(WARNING,
206206
(errcode(ERRCODE_ADMIN_SHUTDOWN),
207-
errmsg("canceling the wait for replication and terminating connection due to administrator command"),
208-
errdetail("The transaction has alreadybeencommitted locally butmight havenot been replicated to the standby.")));
207+
errmsg("canceling the wait forsynchronousreplication and terminating connection due to administrator command"),
208+
errdetail("The transaction has already committed locally, butmaynot have been replicated to the standby.")));
209209
whereToSendOutput=DestNone;
210210
SyncRepCancelWait();
211211
break;
@@ -222,7 +222,7 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN)
222222
QueryCancelPending= false;
223223
ereport(WARNING,
224224
(errmsg("canceling wait for synchronous replication due to user request"),
225-
errdetail("The transaction has committed locally, but may not have replicated to the standby.")));
225+
errdetail("The transaction hasalreadycommitted locally, but may not have been replicated to the standby.")));
226226
SyncRepCancelWait();
227227
break;
228228
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp