- Notifications
You must be signed in to change notification settings - Fork28
Commitfa19a08
committed
Fix variable initialization when using buffering build with GiST
This can cause valgrind to complain, as the flag marking a buffer as atemporary copy was not getting initialized.While on it, fill in with zeros newly-created buffer pages. This doesnot matter when loading a block from a temporary file, but it makes thepush of an index tuple into a new buffer page safer.This has been introduced by1d27dcf, so backpatch all the way down to9.4.Author: Alexander LakhinDiscussion:https://postgr.es/m/15899-0d24fb273b3dd90c@postgresql.orgBackpatch-through: 9.41 parent5a7d697 commitfa19a08
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
189 | | - | |
190 | | - | |
| 190 | + | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
0 commit comments
Comments
(0)