mirror of https://github.com/postgres/postgres
When vacuuming a data leaf page, any compressed posting lists that are not modified, are copied back to the buffer from a later location in the same buffer rather than from a palloc'd copy. IOW, they are just moved downwards in the same buffer. Because the source and destination addresses can overlap, we must use memmove rather than memcpy. Report and fix by Alexander Korotkov.pull/6/head
parent
fbe19ee3b8
commit
398cf255ad
Loading…
Reference in new issue