forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9a591c1
committed
Fix statistics reporting in logical replication workers
This new arrangement ensures that statistics are reported right aftercommit of transactions. The previous arrangement didn't get this quiteright and could lead to assertion failures.Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>Reported-by: Erik Rijkers <er@xs4all.nl>1 parentb6576e5 commit9a591c1
2 files changed
+15
-5
lines changedLines changed: 14 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
274 | 274 |
| |
275 | 275 |
| |
276 | 276 |
| |
| 277 | + | |
277 | 278 |
| |
278 | 279 |
| |
279 | 280 |
| |
| |||
290 | 291 |
| |
291 | 292 |
| |
292 | 293 |
| |
| 294 | + | |
293 | 295 |
| |
294 | 296 |
| |
295 | 297 |
| |
| |||
304 | 306 |
| |
305 | 307 |
| |
306 | 308 |
| |
307 |
| - | |
308 |
| - | |
309 | 309 |
| |
310 | 310 |
| |
311 | 311 |
| |
| |||
350 | 350 |
| |
351 | 351 |
| |
352 | 352 |
| |
353 |
| - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
354 | 358 |
| |
355 | 359 |
| |
356 | 360 |
| |
357 |
| - | |
358 | 361 |
| |
359 | 362 |
| |
360 | 363 |
| |
| |||
457 | 460 |
| |
458 | 461 |
| |
459 | 462 |
| |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
460 | 469 |
| |
461 | 470 |
| |
462 | 471 |
| |
| |||
806 | 815 |
| |
807 | 816 |
| |
808 | 817 |
| |
| 818 | + | |
809 | 819 |
| |
810 | 820 |
| |
811 | 821 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
453 | 453 |
| |
454 | 454 |
| |
455 | 455 |
| |
| 456 | + | |
456 | 457 |
| |
457 | 458 |
| |
458 | 459 |
| |
| |||
462 | 463 |
| |
463 | 464 |
| |
464 | 465 |
| |
465 |
| - | |
466 | 466 |
| |
467 | 467 |
| |
468 | 468 |
| |
|
0 commit comments
Comments
(0)