aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogfuncs.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-07-26 12:08:49 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-09-21 12:00:00 -0400
commitebdf5bf7d1c97a926e2b0cb6523344c2643623c7 (patch)
tree164297b4f90515a4ffad9da6ca7cb98e1e974c04 /src/backend/access/transam/xlogfuncs.c
parentc1dc51d4844e2a37412b034c07c1c5a439ba0b9d (diff)
downloadpostgresql-ebdf5bf7d1c97a926e2b0cb6523344c2643623c7.tar.gz
postgresql-ebdf5bf7d1c97a926e2b0cb6523344c2643623c7.zip
Delay updating control file to "in production"
Move the updating of the control file to "in production" status until the point where WAL writes are allowed. Before, there could be a significant gap between the control file update and write transactions actually being allowed. This makes it more reliable to use the control status to verify the end of a promotion. From: Michael Paquier <michael.paquier@gmail.com>
Diffstat (limited to 'src/backend/access/transam/xlogfuncs.c')
0 files changed, 0 insertions, 0 deletions