aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2012-03-29 14:57:08 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2012-03-29 14:57:08 +0100
commit20d98ab6e4110087d1816cd105a40fcc8ce0a307 (patch)
treea4cda4221136ce505035a66dbb2177ac782452e0 /src/backend/tcop/postgres.c
parent4d278b785e22ff8d56ac86d5ed1871e096b2ea80 (diff)
downloadpostgresql-20d98ab6e4110087d1816cd105a40fcc8ce0a307.tar.gz
postgresql-20d98ab6e4110087d1816cd105a40fcc8ce0a307.zip
Correct epoch of txid_current() when executed on a Hot Standby server.
Initialise ckptXidEpoch from starting checkpoint and maintain the correct value as we roll forwards. This allows GetNextXidAndEpoch() to return the correct epoch when executed during recovery. Backpatch to 9.0 when the problem is first observable by a user. Bug report from Daniel Farina
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions