forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0468301
Amit Kapila
Fix subscriber invalid memory access on DDL.
This patch allows building the local relmap cache for a subscribedrelation after processing pending invalidation messages and potentialrelcache updates. Without this, the attributes in the local cache don'ttally with the updated relcache entry leading to invalid memory access.Reported-by Jehan-Guillaume de RorthaisAuthor: Jehan-Guillaume de Rorthais and Vignesh CReviewed-by: Amit KapilaBackpatch-through: 10Discussion:https://postgr.es/m/20191025175929.7e90dbf5@firost1 parent6683650 commit0468301
1 file changed
+25
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
| |||
232 | 234 | | |
233 | 235 | | |
234 | 236 | | |
235 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
236 | 245 | | |
237 | 246 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
| |||
256 | 255 | | |
257 | 256 | | |
258 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
259 | 273 | | |
260 | 274 | | |
261 | 275 | | |
| |||
350 | 364 | | |
351 | 365 | | |
352 | 366 | | |
353 | | - | |
354 | | - | |
355 | 367 | | |
356 | 368 | | |
357 | 369 | | |
| |||
0 commit comments
Comments
(0)