Thread: Need to update this comment in xlog.c?

Need to update this comment in xlog.c?

From
Amit Langote
Date:
Hi,

Should "background writer" in the following comment be "checkpointer" post-9.2?

src/backend/access/transam/xlog.c

/** Statistics for current checkpoint are collected in this global struct.* Because only the background writer or a
stand-alonebackend can perform* checkpoints, this will be unused in normal backends.*/
 
CheckpointStatsData CheckpointStats;


--
Amit



Re: Need to update this comment in xlog.c?

From
Heikki Linnakangas
Date:
On 02/18/2014 04:30 AM, Amit Langote wrote:
> Hi,
>
> Should "background writer" in the following comment be "checkpointer" post-9.2?
>
> src/backend/access/transam/xlog.c
>
> /*
>   * Statistics for current checkpoint are collected in this global struct.
>   * Because only the background writer or a stand-alone backend can perform
>   * checkpoints, this will be unused in normal backends.
>   */
> CheckpointStatsData CheckpointStats;

Thanks, fixed.

- Heikki