Need to update this comment in xlog.c?

Started by Amit Langotealmost 12 years ago2 messages
#1Amit Langote
amitlangote09@gmail.com

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;

--
Amit

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#2Heikki Linnakangas
hlinnakangas@vmware.com
In reply to: Amit Langote (#1)
Re: Need to update this comment in xlog.c?

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers