Re: [COMMITTERS] pgsql: Improve logging of checkpoints.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Improve logging of checkpoints.
Date: 2007-07-01 16:25:34
Message-ID: 12943.1183307134@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> Does this
>> + 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?

Not very well, which is why I left it as an elog ;-)

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-07-01 17:45:42 pgsql: Avoid memory leakage when a series of subtransactions invoke
Previous Message User Pgunittest 2007-07-01 15:50:45 pgunittest - pgUnitTest:

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-07-01 21:17:15 Re: Restartable signals 'n all that
Previous Message Tom Lane 2007-07-01 16:11:26 Restartable signals 'n all that