aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb_util.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-05-19 13:16:24 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-05-19 13:28:04 +0300
commitc91a9b5a285e20e54cf90f3660ce51ce3a5c2ef4 (patch)
tree7afa2a5b968b3be0c6576f2f2c94c9f0366db7c9 /src/backend/utils/adt/jsonb_util.c
parenteb56812144bb310f7cb2f63e53d6d58f30df95b5 (diff)
downloadpostgresql-c91a9b5a285e20e54cf90f3660ce51ce3a5c2ef4.tar.gz
postgresql-c91a9b5a285e20e54cf90f3660ce51ce3a5c2ef4.zip
Fix backup-block numbering in redo of b-tree split.
I got the backup block numbers off-by-one in the commit that changed the way incomplete-splits are handled. I blame the comments, which said "backup block 1" and "backup block 2", even though the backup blocks are numbered starting from 0, in the macros and functions used in replay. Fix the comments and the code. Per Jeff Janes' bug report about corruption caused by torn page writes. The incorrect code is new in git master, but backpatch the comment change down to 9.0, where the numbering in the redo-side macros was changed.
Diffstat (limited to 'src/backend/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions