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