Обсуждение: Typo in xlog.c comment?

Поиск
Список
Период
Сортировка

Typo in xlog.c comment?

От
Daniel Gustafsson
Дата:
Am I right in interpreting the below comment in xlog.c as documenting a new
mode of operation, so “Not” should actually be “Note”?  Or am I just not able
to English today?

diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 62fc418893..246869bba2 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -5579,7 +5579,7 @@ readRecoveryCommandFile(void)
        }

        /*
-        * Override any inconsistent requests. Not that this is a change of
+        * Override any inconsistent requests. Note that this is a change of
         * behaviour in 9.5; prior to this we simply ignored a request to pause if
         * hot_standby = off, which was surprising behaviour.
         */

cheers ./daniel

Re: Typo in xlog.c comment?

От
Andres Freund
Дата:
Hi,

On 2018-10-31 15:32:24 +0100, Daniel Gustafsson wrote:
> Am I right in interpreting the below comment in xlog.c as documenting a new
> mode of operation, so “Not” should actually be “Note”?  Or am I just not able
> to English today?

No, you're right. Fixed!

Greetings,

Andres Freund