diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-01-24 00:24:50 +0100 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-01-24 01:08:11 +0100 |
commit | 39b66a91bdebb00af71a2c6218412ecfc89a0e13 (patch) | |
tree | 07b52f0db151aee5d2a322212f0c1ab7dd4b56b3 /src/backend/access/gist/gistvacuum.c | |
parent | 183bbd1b6d4376f1b04c02b7a20b55019f6d84f4 (diff) | |
download | postgresql-39b66a91bdebb00af71a2c6218412ecfc89a0e13.tar.gz postgresql-39b66a91bdebb00af71a2c6218412ecfc89a0e13.zip |
Fix COPY FREEZE with CLOBBER_CACHE_ALWAYS
This adds code omitted from commit 7db0cd2145 by accident, which had
two consequences. Firstly, only rows inserted by heap_multi_insert were
frozen as expected when running COPY FREEZE, while heap_insert left
rows unfrozen. That however includes rows in TOAST tables, so a lot of
data might have been left unfrozen. Secondly, page might have been left
partially empty after relcache invalidation.
This addresses both of those issues.
Discussion: https://postgr.es/m/CABOikdN-ptGv0mZntrK2Q8OtfUuAjqaYMGmkdU1dCKFtUxVLrg@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions