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

Commit38c363a

Browse files
committed
Improve grammar of message about two-phase state files.
When there's only one two-phase state file, there's also only onelong-running prepared transaction. Adjust the message textaccordingly.Nikhil SontakkeDiscussion:http://postgr.es/m/CAMGcDxcmR_DWZXXndGoPzVQx=B17A5=RviEA1qNaF=FWLy5Whw@mail.gmail.com
1 parent871ec0e commit38c363a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/twophase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1647,7 +1647,7 @@ CheckPointTwoPhase(XLogRecPtr redo_horizon)
16471647
if (log_checkpoints&&serialized_xacts>0)
16481648
ereport(LOG,
16491649
(errmsg_plural("%u two-phase state file was written "
1650-
"for long-running preparedtransactions",
1650+
"foralong-running preparedtransaction",
16511651
"%u two-phase state files were written "
16521652
"for long-running prepared transactions",
16531653
serialized_xacts,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp