aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2016-02-19 08:32:28 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2016-02-19 08:32:28 +0000
commit6830cae5f862276a52dc8a50edf1d34996539a3c (patch)
treec82df194398e0213b35d52e72e2697400baba83d /src/tutorial/funcs.c
parentbec4d0ffb2fb50d2d36dca99599514eef315c865 (diff)
downloadpostgresql-6830cae5f862276a52dc8a50edf1d34996539a3c.tar.gz
postgresql-6830cae5f862276a52dc8a50edf1d34996539a3c.zip
Correct StartupSUBTRANS for page wraparound
StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtrans data structure, which in some cases could lead to errors in startup for Hot Standby. This patch wraps the pageids correctly, avoiding any such errors. Identified by exhaustive crash testing by Jeff Janes. Jeff Janes
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions