Re: pgsql: Improve logging of checkpoints.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: pgsql: Improve logging of checkpoints.
Дата
Msg-id 46875B49.2080206@enterprisedb.com
обсуждение исходный текст
Ответ на Re: pgsql: Improve logging of checkpoints.  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-committers
Heikki Linnakangas wrote:
> Does this
>
>> +/* + * Log start of a checkpoint.
>> + */
>> +static void
>> +LogCheckpointStart(int flags)
>> +{
>> +    elog(LOG, "checkpoint starting:%s%s%s%s%s%s",
>> +         (flags & CHECKPOINT_IS_SHUTDOWN) ? " shutdown" : "",
>> +         (flags & CHECKPOINT_IMMEDIATE) ? " immediate" : "",
>> +         (flags & CHECKPOINT_FORCE) ? " force" : "",
>> +         (flags & CHECKPOINT_WAIT) ? " wait" : "",
>> +         (flags & CHECKPOINT_CAUSE_XLOG) ? " xlog" : "",
>> +         (flags & CHECKPOINT_CAUSE_TIME) ? " time" : "");
>> +}
>
> work with translations?

In fact, they should be ereports, not elogs. I forgot to change them
when I increased the log level from DEBUG as it was in Greg's original
patch.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pgsql: Improve logging of checkpoints.
Следующее
От: pgunittest@pgfoundry.org (User Pgunittest)
Дата:
Сообщение: pgunittest - pgUnitTest: New Directory