summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorSimon Riggs2011-11-01 17:14:47 +0000
committerSimon Riggs2011-11-01 17:14:47 +0000
commit806a2aee3791244bf0f916729bfdb5489936e068 (patch)
tree1eb84ca670e07bdf49dfddbc1e1472ce934ba03d /src/include/access
parent589adb86ee826190d2b6e744d117eee1fa6bbf75 (diff)
Split work of bgwriter between 2 processes: bgwriter and checkpointer.
bgwriter is now a much less important process, responsible for page cleaning duties only. checkpointer is now responsible for checkpoints and so has a key role in shutdown. Later patches will correct doc references to the now old idea that bgwriter performs checkpoints. Has beneficial effect on performance at high write rates, but mainly refactoring to more easily allow changes for power reduction by simplifying previously tortuous code around required to allow page cleaning and checkpointing to time slice in the same process. Patch by me, Review by Dickson Guedes
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/xlog_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index 4eaa243948b..cb438797734 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -256,7 +256,7 @@ typedef struct RmgrData
extern const RmgrData RmgrTable[];
/*
- * Exported to support xlog switching from bgwriter
+ * Exported to support xlog switching from checkpointer
*/
extern pg_time_t GetLastSegSwitchTime(void);
extern XLogRecPtr RequestXLogSwitch(void);