From 67c33efa611170f2a19247aff4d746794f52823f Mon Sep 17 00:00:00 2001 From: Pavel Borisov Date: Mon, 17 Feb 2025 13:34:01 +0400 Subject: [PATCH v2] Fix typo and grammar in comment introduced by 6a2275b Reported-by: Kirill Reshke --- src/backend/access/transam/xlog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 75d5554c77c..06ead0bb0fe 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -2201,9 +2201,9 @@ AdvanceXLInsertBuffer(XLogRecPtr upto, TimeLineID tli, bool opportunistic) if (pg_atomic_read_u64(&XLogCtl->xlblocks[nextidx]) != NewPageEndPtr) { /* - * Page at nextidx wasn't initialized yet, so we cann't move - * InitializedUpto further. It will be moved by backend which - * will initialize nextidx. + * Page at nextidx hasn't been initialized yet, so we can't move + * InitializedUpto further. It will be moved by the backend that + * initializes nextidx. */ ConditionVariableBroadcast(&XLogCtl->InitializedUpToCondVar); break; -- 2.39.2 (Apple Git-143)