forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf5bfba5
committed
shm_mq_sendv: Fix flushing bug when receiver not yet attached.
With the old logic, when the reciever had not yet attached, we wouldnever call shm_mq_inc_bytes_written(), even if force_flush = truewas specified. That could result in a situation where data that thesender believes it has sent is never received.Along the way, remove a useless function prototype for a nonexistentfunction from shm_mq.h.Commit4684643 introduced theseproblems.Pavan Deolasee, with a few changes by me.Discussion:https://postgr.es/m/CABOikdPkwtLLCTnzzmpSMXo3QZa2yXq0J7Q61ssdLFAJYrOVvQ@mail.gmail.com1 parent0a050ee commitf5bfba5
2 files changed
+5
-7
lines changedLines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
518 | 518 |
| |
519 | 519 |
| |
520 | 520 |
| |
521 |
| - | |
522 |
| - | |
| 521 | + | |
523 | 522 |
| |
524 | 523 |
| |
525 | 524 |
| |
| |||
528 | 527 |
| |
529 | 528 |
| |
530 | 529 |
| |
531 |
| - | |
532 |
| - | |
533 |
| - | |
| 530 | + | |
| 531 | + | |
534 | 532 |
| |
535 | 533 |
| |
536 | 534 |
| |
| |||
541 | 539 |
| |
542 | 540 |
| |
543 | 541 |
| |
544 |
| - | |
| 542 | + | |
| 543 | + | |
545 | 544 |
| |
546 | 545 |
| |
547 | 546 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
80 | 79 |
| |
81 | 80 |
| |
82 | 81 |
| |
|
0 commit comments
Comments
(0)