Re: Fix for erroneous warning on Shutdown

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix for erroneous warning on Shutdown
Дата
Msg-id 14610.1087347717@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix for erroneous warning on Shutdown  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Fix for erroneous warning on Shutdown  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I just did CHECKPOINT;CHECKPOINT and got the warning in the logs.  This
> needs to be fixed.

See code:

            /*
             * Ideally we should only warn if this checkpoint was
             * requested due to running out of segment files, and not
             * if it was manually requested.  However we can't tell the
             * difference with the current signalling mechanism.
             */

I could argue that a client-driven process that issues CHECKPOINT every
few seconds is equally deserving of a warning.  The only thing wrong is
that the HINT is inapplicable ... but that's why it's a HINT and not
part of the main message.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix for erroneous warning on Shutdown
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix for erroneous warning on Shutdown