aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2016-02-19 08:35:02 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2016-02-19 08:35:02 +0000
commitca32f125b92c91c2abd02e25aede7b52b318f840 (patch)
treedfe89ba29d29f5aa8489885073674490d1a2c6c6 /src/backend/executor/nodeModifyTable.c
parent0f359c7de9f5f8fceedfebfae0b0cbbf01d1f5bf (diff)
downloadpostgresql-ca32f125b92c91c2abd02e25aede7b52b318f840.tar.gz
postgresql-ca32f125b92c91c2abd02e25aede7b52b318f840.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/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions