forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbfd96b7
committed
Improve log pattern detection in recently-added TAP tests
ab55d74 has introduced some tests with rows found as missing in logicalreplication subscriptions for partitioned tables, relying on a logicwith a lookup of the logs generated, scanning the whole file. Thiscommit makes the logic more precise, by scanning the logs only from theposition before the key queries are run to the position where we checkfor the logs. This will reduce the risk of issues with log patternsoverlapping with each other if those tests get more complicated in thefuture.Per discussion with Tom Lane.Discussion:https://postgr.es/m/YMP+Gx2S8meYYHW4@paquier.xyzBackpatch-through: 131 parentd8e950d commitbfd96b7
2 files changed
+18
-3
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
311 | 311 |
| |
312 | 312 |
| |
313 | 313 |
| |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
314 | 319 |
| |
315 | 320 |
| |
316 | 321 |
| |
317 | 322 |
| |
318 | 323 |
| |
319 | 324 |
| |
320 |
| - | |
| 325 | + | |
321 | 326 |
| |
322 | 327 |
| |
323 | 328 |
| |
|
Lines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
362 | 362 |
| |
363 | 363 |
| |
364 | 364 |
| |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
365 | 370 |
| |
366 | 371 |
| |
367 | 372 |
| |
368 | 373 |
| |
369 | 374 |
| |
370 | 375 |
| |
371 | 376 |
| |
372 |
| - | |
| 377 | + | |
373 | 378 |
| |
374 | 379 |
| |
375 | 380 |
| |
| |||
700 | 705 |
| |
701 | 706 |
| |
702 | 707 |
| |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
703 | 713 |
| |
704 | 714 |
| |
705 | 715 |
| |
706 | 716 |
| |
707 | 717 |
| |
708 | 718 |
| |
709 | 719 |
| |
710 |
| - | |
| 720 | + | |
711 | 721 |
| |
712 | 722 |
| |
713 | 723 |
| |
|
0 commit comments
Comments
(0)