aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayutils.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2016-02-19 08:31:12 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2016-02-19 08:31:12 +0000
commit481725c0ba731b77fb32cadb12013373e378011a (patch)
tree16348e2d654c913c54da6e0fb9859811f28f56ff /src/backend/utils/adt/arrayutils.c
parenta914a0414232e30943f7b2ffd997d74bd018a7b1 (diff)
downloadpostgresql-481725c0ba731b77fb32cadb12013373e378011a.tar.gz
postgresql-481725c0ba731b77fb32cadb12013373e378011a.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/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions