Re: pgsql: Improve logging of checkpoints.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: pgsql: Improve logging of checkpoints.
Дата
Msg-id 46875999.8090808@enterprisedb.com
обсуждение исходный текст
Ответ на pgsql: Improve logging of checkpoints.  (tgl@postgresql.org (Tom Lane))
Ответы Re: pgsql: Improve logging of checkpoints.  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-committers
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?

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

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix comments not updated in recent patch.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pgsql: Improve logging of checkpoints.