forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite719248
committed
Suppress "chunk is not well balanced" errors from libxml2.
libxml2 2.13 has an entirely different rule than earlier versionsabout when to emit "chunk is not well balanced" errors. Thiscauses regression test output discrepancies for three test casesthat formerly provoked that error (along with others) and now don't.Closer inspection shows that at least in 2.13, this error is prettyuseless because it can only be emitted after some other more-relevanterror. So let's get rid of the cross-version discrepancy by justsuppressing it. In case some older libxml2 version is capable ofemitting this error by itself, suppress only when some other errorhas already been captured.Like066e8ac and6082b3d, this will need to be back-patched,but let's check the results in HEAD first. (The patch for xml_2.out,in particular, is blind since I can't test it here.)Erik Wienhold and Tom Lane, per report from Frank Streitzig.Discussion:https://postgr.es/m/trinity-b0161630-d230-4598-9ebc-7a23acdb37cb-1720186432160@3c-app-gmx-bap25Discussion:https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs011 parentccd3802 commite719248
5 files changed
+81
-12
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2114 | 2114 |
| |
2115 | 2115 |
| |
2116 | 2116 |
| |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
2117 | 2130 |
| |
2118 | 2131 |
| |
2119 | 2132 |
| |
|
Lines changed: 26 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 | 257 |
| |
261 | 258 |
| |
262 | 259 |
| |
263 | 260 |
| |
264 | 261 |
| |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 | 262 |
| |
269 | 263 |
| |
270 | 264 |
| |
| |||
283 | 277 |
| |
284 | 278 |
| |
285 | 279 |
| |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 | 280 |
| |
290 | 281 |
| |
291 | 282 |
| |
| |||
294 | 285 |
| |
295 | 286 |
| |
296 | 287 |
| |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
297 | 301 |
| |
298 | 302 |
| |
299 | 303 |
| |
| |||
352 | 356 |
| |
353 | 357 |
| |
354 | 358 |
| |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
355 | 372 |
| |
356 | 373 |
| |
357 | 374 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
183 | 189 |
| |
184 | 190 |
| |
185 | 191 |
| |
| |||
207 | 213 |
| |
208 | 214 |
| |
209 | 215 |
| |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
210 | 222 |
| |
211 | 223 |
| |
212 | 224 |
| |
|
Lines changed: 26 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
253 |
| - | |
254 | 253 |
| |
255 | 254 |
| |
256 | 255 |
| |
257 | 256 |
| |
258 | 257 |
| |
259 |
| - | |
260 | 258 |
| |
261 | 259 |
| |
262 | 260 |
| |
| |||
275 | 273 |
| |
276 | 274 |
| |
277 | 275 |
| |
278 |
| - | |
279 | 276 |
| |
280 | 277 |
| |
281 | 278 |
| |
282 | 279 |
| |
283 | 280 |
| |
284 | 281 |
| |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
285 | 295 |
| |
286 | 296 |
| |
287 | 297 |
| |
| |||
332 | 342 |
| |
333 | 343 |
| |
334 | 344 |
| |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
335 | 358 |
| |
336 | 359 |
| |
337 | 360 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
| 80 | + | |
| 81 | + | |
80 | 82 |
| |
81 | 83 |
| |
82 | 84 |
| |
| |||
87 | 89 |
| |
88 | 90 |
| |
89 | 91 |
| |
| 92 | + | |
| 93 | + | |
90 | 94 |
| |
91 | 95 |
| |
92 | 96 |
| |
|
0 commit comments
Comments
(0)