aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/selfuncs.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-03-12 22:46:04 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-03-12 23:28:36 +0200
commita3115f0d9ec1ac93b82156535dc00b10172a4fe7 (patch)
tree675870269d119e1632d9345539efd11ac16d044e /src/backend/utils/adt/selfuncs.c
parent17d787a3b160eefb2ff4a3fdf12ca1fedc02cbc1 (diff)
downloadpostgresql-a3115f0d9ec1ac93b82156535dc00b10172a4fe7.tar.gz
postgresql-a3115f0d9ec1ac93b82156535dc00b10172a4fe7.zip
Only WAL-log the modified portion in an UPDATE, if possible.
When a row is updated, and the new tuple version is put on the same page as the old one, only WAL-log the part of the new tuple that's not identical to the old. This saves significantly on the amount of WAL that needs to be written, in the common case that most fields are not modified. Amit Kapila, with a lot of back and forth with me, Robert Haas, and others.
Diffstat (limited to 'src/backend/utils/adt/selfuncs.c')
0 files changed, 0 insertions, 0 deletions