forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit39d4a15
committed
Fix plpgsql tests for debug_invalidate_system_caches_always.
Commitc9d5298 resulted in having a couple more places wherethe error context stack for a failure varies depending ondebug_invalidate_system_caches_always (nee CLOBBER_CACHE_ALWAYS).This is not very surprising, since we have to re-parse cachedplans if the plan cache is clobbered. Stabilize the expectedtest output by hiding the context stack in these places,as we've done elsewhere in this test script.(Another idea worth considering, now that we havedebug_invalidate_system_caches_always, is to force it to zero forthese test cases. That seems like it'd risk reducing the coverageof cache-clobber testing, which might or might not be worth beingable to verify that we get the expected error output in normalcases. For the moment I just stuck with the existing technique.)In passing, update comments that referred to CLOBBER_CACHE_ALWAYS.Per buildfarm member hyrax.1 parentafcc877 commit39d4a15
File tree
5 files changed
+36
-22
lines changed- src/pl/plpgsql/src
- expected
- sql
5 files changed
+36
-22
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
| 58 | + | |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
|
Lines changed: 12 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
426 | 426 |
| |
427 | 427 |
| |
428 | 428 |
| |
429 |
| - | |
430 |
| - | |
| 429 | + | |
| 430 | + | |
431 | 431 |
| |
432 | 432 |
| |
433 | 433 |
| |
| |||
507 | 507 |
| |
508 | 508 |
| |
509 | 509 |
| |
| 510 | + | |
| 511 | + | |
| 512 | + | |
510 | 513 |
| |
511 | 514 |
| |
512 |
| - | |
| 515 | + | |
513 | 516 |
| |
514 | 517 |
| |
515 | 518 |
| |
| |||
524 | 527 |
| |
525 | 528 |
| |
526 | 529 |
| |
527 |
| - | |
528 |
| - | |
| 530 | + | |
| 531 | + | |
529 | 532 |
| |
530 | 533 |
| |
531 | 534 |
| |
| |||
549 | 552 |
| |
550 | 553 |
| |
551 | 554 |
| |
| 555 | + | |
| 556 | + | |
| 557 | + | |
552 | 558 |
| |
553 | 559 |
| |
554 |
| - | |
| 560 | + | |
555 | 561 |
| |
556 | 562 |
| |
557 | 563 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
|
Lines changed: 12 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
260 |
| - | |
261 |
| - | |
| 260 | + | |
| 261 | + | |
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
| 319 | + | |
| 320 | + | |
| 321 | + | |
319 | 322 |
| |
| 323 | + | |
320 | 324 |
| |
321 | 325 |
| |
322 | 326 |
| |
323 | 327 |
| |
324 | 328 |
| |
325 | 329 |
| |
326 | 330 |
| |
327 |
| - | |
328 |
| - | |
| 331 | + | |
| 332 | + | |
329 | 333 |
| |
330 | 334 |
| |
331 | 335 |
| |
| |||
342 | 346 |
| |
343 | 347 |
| |
344 | 348 |
| |
| 349 | + | |
| 350 | + | |
| 351 | + | |
345 | 352 |
| |
| 353 | + | |
346 | 354 |
| |
347 | 355 |
| |
348 | 356 |
| |
|
0 commit comments
Comments
(0)