aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-07-10 15:15:07 +0900
committerMichael Paquier <michael@paquier.xyz>2019-07-10 15:15:07 +0900
commit1cde7fe84a479113127596e46e070f07ac6f09d0 (patch)
tree49f6515368be7fde64e00184a2a103ded45592b9 /src/backend/access/gist/gistvacuum.c
parent9509173d24309b4ef46790921c07dc4084b6bc62 (diff)
downloadpostgresql-1cde7fe84a479113127596e46e070f07ac6f09d0.tar.gz
postgresql-1cde7fe84a479113127596e46e070f07ac6f09d0.zip
Fix variable initialization when using buffering build with GiST
This can cause valgrind to complain, as the flag marking a buffer as a temporary copy was not getting initialized. While on it, fill in with zeros newly-created buffer pages. This does not matter when loading a block from a temporary file, but it makes the push of an index tuple into a new buffer page safer. This has been introduced by 1d27dcf, so backpatch all the way down to 9.4. Author: Alexander Lakhin Discussion: https://postgr.es/m/15899-0d24fb273b3dd90c@postgresql.org Backpatch-through: 9.4
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions