- Notifications
You must be signed in to change notification settings - Fork5
Commit1a86e6e
committed
On further consideration, there's another problem here: the existing
elog() emulation code always calls errstart with ERROR error level.This means that a recursive error call triggered by elog would doMemoryContextReset(ErrorContext), whether or not this was actuallyappropriate. I'm surprised we haven't seen this in the field...1 parentcefb4b1 commit1a86e6e
2 files changed
+40
-8
lines changedLines changed: 37 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| |||
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
865 |
| - | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
866 | 869 |
| |
867 |
| - | |
868 |
| - | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
869 | 901 |
| |
870 | 902 |
| |
871 | 903 |
| |
| |||
876 | 908 |
| |
877 | 909 |
| |
878 | 910 |
| |
879 |
| - | |
880 |
| - | |
| 911 | + | |
881 | 912 |
| |
882 | 913 |
| |
883 | 914 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
156 |
| - | |
| 156 | + | |
157 | 157 |
| |
| 158 | + | |
158 | 159 |
| |
159 | 160 |
| |
160 | 161 |
| |
|
0 commit comments
Comments
(0)