- Notifications
You must be signed in to change notification settings - Fork28
Commit8bbc618
committed
Don't call the function that may raise an error while holding spinlock.
It's not safe to raise an error while holding spinlock. But previouslylogical replication worker for table sync called the function whichreads the system catalog and may raise an error while it's holdingspinlock. Which could lead to the trouble where spinlock will neverbe released and the server gets stuck infinitely.Author: Petr JelinekReviewed-by: Kyotaro Horiguchi and Fujii MasaoReported-by: Fujii MasaoDiscussion:http://postgr.es/m/CAHGQGwFDWh_Qr-q_GEMpD+qH=vYPMdVqw=ZOSY3kX_Pna9R9SA@mail.gmail.com1 parente68432a commit8bbc618
1 file changed
+9
-6
lines changedLines changed: 9 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
705 | 705 |
| |
706 | 706 |
| |
707 | 707 |
| |
| 708 | + | |
| 709 | + | |
708 | 710 |
| |
709 | 711 |
| |
710 | 712 |
| |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
711 | 718 |
| |
712 |
| - | |
713 |
| - | |
714 |
| - | |
715 |
| - | |
716 |
| - | |
| 719 | + | |
| 720 | + | |
717 | 721 |
| |
718 |
| - | |
719 | 722 |
| |
720 | 723 |
| |
721 | 724 |
| |
|
0 commit comments
Comments
(0)