Commit e84d243
committed
Initialize all memory for logical replication relation cache.
As reported by buildfarm animal skink / valgrind, some of the
variables weren't always initialized. To avoid further mishaps use
memset to ensure the entire entry is initialized.
Author: Petr Jelinek
Reported-By: Andres Freund
Discussion: https://postgr.es/m/20170422183123.w2jgiuxtts7qrqaq@alap3.anarazel.de
Backpatch: none, code new in master1 parent 61c21dd commit e84d243
1 file changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 144 | | |
148 | | - | |
149 | 145 | | |
150 | 146 | | |
151 | 147 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | 148 | | |
158 | 149 | | |
159 | 150 | | |
| |||
182 | 173 | | |
183 | 174 | | |
184 | 175 | | |
| 176 | + | |
| 177 | + | |
185 | 178 | | |
186 | 179 | | |
187 | 180 | | |
| |||
197 | 190 | | |
198 | 191 | | |
199 | 192 | | |
200 | | - | |
201 | | - | |
202 | 193 | | |
203 | 194 | | |
204 | 195 | | |
| |||
0 commit comments