forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit43434ed
committed
Back-patch log_newpage_range().
Back-patch a subset of commit9155580to v11, v10, 9.6, and 9.5. Include the latest repairs to this function.Use a new XLOG_FPI_MULTI value instead of reusing XLOG_FPI. That way,if an older server reads WAL from this function, that server will PANICinstead of applying just one page of the record. The next commit adds acall to this function.Discussion:https://postgr.es/m/20200304.162919.898938381201316571.horikyota.ntt@gmail.com1 parent78a34c6 commit43434ed
File tree
6 files changed
+113
-9
lines changed- src
- backend
- access
- rmgrdesc
- transam
- replication/logical
- include
- access
- catalog
6 files changed
+113
-9
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
| 82 | + | |
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
| |||
182 | 183 |
| |
183 | 184 |
| |
184 | 185 |
| |
| 186 | + | |
| 187 | + | |
| 188 | + | |
185 | 189 |
| |
186 | 190 |
| |
187 | 191 |
| |
|
Lines changed: 15 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9721 | 9721 |
| |
9722 | 9722 |
| |
9723 | 9723 |
| |
9724 |
| - | |
| 9724 | + | |
9725 | 9725 |
| |
9726 | 9726 |
| |
9727 | 9727 |
| |
| |||
9924 | 9924 |
| |
9925 | 9925 |
| |
9926 | 9926 |
| |
9927 |
| - | |
| 9927 | + | |
| 9928 | + | |
9928 | 9929 |
| |
9929 |
| - | |
| 9930 | + | |
9930 | 9931 |
| |
9931 | 9932 |
| |
9932 | 9933 |
| |
9933 |
| - | |
9934 |
| - | |
| 9934 | + | |
| 9935 | + | |
| 9936 | + | |
9935 | 9937 |
| |
9936 | 9938 |
| |
9937 | 9939 |
| |
| |||
9943 | 9945 |
| |
9944 | 9946 |
| |
9945 | 9947 |
| |
9946 |
| - | |
9947 |
| - | |
9948 |
| - | |
| 9948 | + | |
| 9949 | + | |
| 9950 | + | |
| 9951 | + | |
| 9952 | + | |
| 9953 | + | |
| 9954 | + | |
| 9955 | + | |
9949 | 9956 |
| |
9950 | 9957 |
| |
9951 | 9958 |
| |
|
Lines changed: 88 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1021 | 1021 |
| |
1022 | 1022 |
| |
1023 | 1023 |
| |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
1024 | 1112 |
| |
1025 | 1113 |
| |
1026 | 1114 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
195 | 195 |
| |
196 | 196 |
| |
197 | 197 |
| |
| 198 | + | |
198 | 199 |
| |
199 | 200 |
| |
200 | 201 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
| 58 | + | |
| 59 | + | |
57 | 60 |
| |
58 | 61 |
| |
59 | 62 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
| 79 | + | |
79 | 80 |
| |
80 | 81 |
| |
81 | 82 |
| |
|
0 commit comments
Comments
(0)