summaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-06-27 18:49:00 +0200
committerAndres Freund <andres@anarazel.de>2015-06-27 19:01:00 +0200
commited6c8d73619a69c8751c8662242fdce22d31bc42 (patch)
tree39353be38045ccef6be4df8b37b323b283fef76c /src/tutorial/syscat.source
parent524e1e40316afc3cf8ba70910fefe1f99b18144f (diff)
Fix test_decoding's handling of nonexistant columns in old tuple versions.
test_decoding used fastgetattr() to extract column values. That's wrong when decoding updates and deletes if a table's replica identity is set to FULL and new columns have been added since the old version of the tuple was created. Due to the lack of a crosscheck with the datum's natts values an invalid value will be output, leading to errors or worse. Bug: #13470 Reported-By: Krzysztof Kotlarski Discussion: 20150626100333.3874.90852@wrigleys.postgresql.org Backpatch to 9.4, where the feature, including the bug, was added.
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions