aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs_new.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2016-03-05 18:02:20 -0800
committerAndres Freund <andres@anarazel.de>2016-03-05 18:02:20 -0800
commita50f50a652779c65607284110bf1046bbe4fb380 (patch)
tree3fefd3f8c35b32c21a360d90bf731c2526679c02 /src/tutorial/funcs_new.c
parent465dd92d98e42233df8bce6fbe8c90a65853536b (diff)
downloadpostgresql-a50f50a652779c65607284110bf1046bbe4fb380.tar.gz
postgresql-a50f50a652779c65607284110bf1046bbe4fb380.zip
logical decoding: old/newtuple in spooled UPDATE changes was switched around.
Somehow I managed to flip the order of restoring old & new tuples when de-spooling a change in a large transaction from disk. This happens to only take effect when a change is spooled to disk which has old/new versions of the tuple. That only is the case for UPDATEs where he primary key changed or where replica identity is changed to FULL. The tests didn't catch this because either spooled updates, or updates that changed primary keys, were tested; not both at the same time. Found while adding tests for the following commit. Backpatch: 9.4, where logical decoding was added
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions