aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2013-01-29 00:06:15 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2013-01-29 00:06:15 +0000
commitfd4ced5230162b50a5c9d33b4bf9cfb1231aa62e (patch)
tree2885c42307d960d313165dc1faa5cb34ff59eb5f /src/backend/access/gist/gist.c
parentee22c55f5ad2e7b7032cd6c0243254d84d4496c7 (diff)
downloadpostgresql-fd4ced5230162b50a5c9d33b4bf9cfb1231aa62e.tar.gz
postgresql-fd4ced5230162b50a5c9d33b4bf9cfb1231aa62e.zip
Fast promote mode skips checkpoint at end of recovery.
pg_ctl promote -m fast will skip the checkpoint at end of recovery so that we can achieve very fast failover when the apply delay is low. Write new WAL record XLOG_END_OF_RECOVERY to allow us to switch timeline correctly for downstream log readers. If we skip synchronous end of recovery checkpoint we request a normal spread checkpoint so that the window of re-recovery is low. Simon Riggs and Kyotaro Horiguchi, with input from Fujii Masao. Review by Heikki Linnakangas
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions