- Notifications
You must be signed in to change notification settings - Fork5
Commit58f481c
committed
Tweak libpq so that if a backend ERROR message arrives while libpq
thinks the connection is idle, the error message is displayed as ifit were a NOTICE. This seems better than dropping the message onthe floor ... particularly if the message is the backend telling uswhy it's about to close the connection. The previous behavior wasBackend message type 0x45 arrived while idlepqReadData() -- backend closed the channel unexpectedly.which is not real helpful.1 parentf017d7e commit58f481c
1 file changed
+37
-18
lines changedLines changed: 37 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
669 | 669 |
| |
670 | 670 |
| |
671 | 671 |
| |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
672 | 679 |
| |
673 | 680 |
| |
674 | 681 |
| |
| |||
680 | 687 |
| |
681 | 688 |
| |
682 | 689 |
| |
683 |
| - | |
| 690 | + | |
684 | 691 |
| |
685 |
| - | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
686 | 695 |
| |
687 |
| - | |
688 |
| - | |
689 |
| - | |
690 |
| - | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
691 | 702 |
| |
692 |
| - | |
| 703 | + | |
693 | 704 |
| |
694 |
| - | |
695 |
| - | |
696 |
| - | |
697 |
| - | |
698 |
| - | |
699 |
| - | |
700 |
| - | |
701 |
| - | |
702 |
| - | |
703 |
| - | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
704 | 717 |
| |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
705 | 724 |
| |
706 | 725 |
| |
707 | 726 |
| |
|
0 commit comments
Comments
(0)