forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitae86e46
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 parent4433c6e commitae86e46
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 changed| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9754 | 9754 | | |
9755 | 9755 | | |
9756 | 9756 | | |
9757 | | - | |
| 9757 | + | |
9758 | 9758 | | |
9759 | 9759 | | |
9760 | 9760 | | |
| |||
9957 | 9957 | | |
9958 | 9958 | | |
9959 | 9959 | | |
9960 | | - | |
| 9960 | + | |
| 9961 | + | |
9961 | 9962 | | |
9962 | | - | |
| 9963 | + | |
9963 | 9964 | | |
9964 | 9965 | | |
9965 | 9966 | | |
9966 | | - | |
9967 | | - | |
| 9967 | + | |
| 9968 | + | |
| 9969 | + | |
9968 | 9970 | | |
9969 | 9971 | | |
9970 | 9972 | | |
| |||
9976 | 9978 | | |
9977 | 9979 | | |
9978 | 9980 | | |
9979 | | - | |
9980 | | - | |
9981 | | - | |
| 9981 | + | |
| 9982 | + | |
| 9983 | + | |
| 9984 | + | |
| 9985 | + | |
| 9986 | + | |
| 9987 | + | |
| 9988 | + | |
9982 | 9989 | | |
9983 | 9990 | | |
9984 | 9991 | | |
| |||
| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
| 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 | | |
| |||
| 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)