forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite99767b
committed
First part of refactoring of code for ResolveRecoveryConflict. Purposes
of this are to centralise the conflict code to allow further change,as well as to allow passing through the full reason for the conflictthrough to the conflicting backends. Backend state alters how wecan handle different types of conflict so this is now required.As originally suggested by Heikki, no longer optional.1 parent0fba3be commite99767b
File tree
6 files changed
+144
-151
lines changed- src
- backend
- access
- heap
- nbtree
- commands
- storage/ipc
- include/storage
6 files changed
+144
-151
lines changedLines changed: 4 additions & 40 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 |
| |
| |||
4139 | 4139 |
| |
4140 | 4140 |
| |
4141 | 4141 |
| |
4142 |
| - | |
4143 |
| - | |
4144 |
| - | |
4145 |
| - | |
4146 |
| - | |
4147 |
| - | |
4148 |
| - | |
4149 |
| - | |
4150 |
| - | |
4151 |
| - | |
| 4142 | + | |
4152 | 4143 |
| |
4153 | 4144 |
| |
4154 | 4145 |
| |
| |||
4180 | 4171 |
| |
4181 | 4172 |
| |
4182 | 4173 |
| |
4183 |
| - | |
4184 |
| - | |
4185 |
| - | |
4186 |
| - | |
4187 |
| - | |
4188 |
| - | |
4189 |
| - | |
4190 |
| - | |
4191 |
| - | |
4192 |
| - | |
| 4174 | + | |
4193 | 4175 |
| |
4194 | 4176 |
| |
4195 | 4177 |
| |
| |||
4259 | 4241 |
| |
4260 | 4242 |
| |
4261 | 4243 |
| |
4262 |
| - | |
4263 |
| - | |
4264 |
| - | |
4265 |
| - | |
4266 |
| - | |
4267 |
| - | |
4268 |
| - | |
4269 |
| - | |
4270 |
| - | |
4271 |
| - | |
4272 |
| - | |
4273 |
| - | |
4274 |
| - | |
4275 |
| - | |
4276 |
| - | |
4277 |
| - | |
4278 |
| - | |
4279 |
| - | |
4280 |
| - | |
| 4244 | + | |
4281 | 4245 |
| |
4282 | 4246 |
| |
4283 | 4247 |
| |
|
Lines changed: 11 additions & 21 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 |
| |
| |||
822 | 822 |
| |
823 | 823 |
| |
824 | 824 |
| |
825 |
| - | |
| 825 | + | |
826 | 826 |
| |
827 |
| - | |
828 |
| - | |
829 |
| - | |
830 |
| - | |
831 |
| - | |
832 |
| - | |
833 |
| - | |
834 |
| - | |
835 |
| - | |
836 |
| - | |
837 |
| - | |
838 |
| - | |
839 |
| - | |
840 |
| - | |
841 |
| - | |
| 827 | + | |
842 | 828 |
| |
843 |
| - | |
844 |
| - | |
845 |
| - | |
846 |
| - | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
847 | 837 |
| |
848 | 838 |
| |
849 | 839 |
| |
|
Lines changed: 2 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
1944 | 1944 |
| |
1945 | 1945 |
| |
1946 | 1946 |
| |
1947 |
| - | |
1948 |
| - | |
1949 |
| - | |
1950 |
| - | |
1951 |
| - | |
1952 |
| - | |
1953 |
| - | |
1954 |
| - | |
1955 |
| - | |
1956 |
| - | |
1957 |
| - | |
1958 |
| - | |
1959 |
| - | |
1960 |
| - | |
1961 |
| - | |
1962 |
| - | |
1963 |
| - | |
1964 |
| - | |
1965 |
| - | |
1966 |
| - | |
1967 |
| - | |
1968 |
| - | |
1969 |
| - | |
| 1947 | + | |
1970 | 1948 |
| |
1971 | 1949 |
| |
1972 | 1950 |
| |
|
Lines changed: 2 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| |||
1377 | 1377 |
| |
1378 | 1378 |
| |
1379 | 1379 |
| |
1380 |
| - | |
1381 |
| - | |
1382 |
| - | |
1383 |
| - | |
1384 |
| - | |
1385 |
| - | |
1386 |
| - | |
1387 |
| - | |
1388 |
| - | |
1389 |
| - | |
1390 |
| - | |
1391 |
| - | |
1392 |
| - | |
1393 |
| - | |
1394 |
| - | |
1395 |
| - | |
1396 |
| - | |
1397 |
| - | |
1398 |
| - | |
1399 |
| - | |
1400 |
| - | |
1401 |
| - | |
1402 |
| - | |
1403 |
| - | |
1404 |
| - | |
1405 |
| - | |
1406 |
| - | |
| 1380 | + | |
1407 | 1381 |
| |
1408 | 1382 |
| |
1409 | 1383 |
| |
|
0 commit comments
Comments
(0)