Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 38c363a

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 one long-running prepared transaction. Adjust the message text accordingly. Nikhil Sontakke Discussion: http://postgr.es/m/CAMGcDxcmR_DWZXXndGoPzVQx=B17A5=RviEA1qNaF=FWLy5Whw@mail.gmail.com
1 parent 871ec0e commit 38c363a

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 prepared transactions",
1650+
"for a long-running prepared transaction",
16511651
"%u two-phase state files were written "
16521652
"for long-running prepared transactions",
16531653
serialized_xacts,

0 commit comments

Comments
 (0)