forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc4c5154
committed
Still more code review for single-page hash vacuuming.
Most seriously, fix use of incorrect block ID, per a report fromJeff Janes that it causes a crash and a diagnosis from Amit Kapila.Improve consistency between the hash and btree versions of thiscode by adding back a PANIC that btree has, and by registeringdata in the xlog record in the same way, per complaints fromJeff Janes and Amit Kapila.Tidy up some minor cosmetic points, per complaints from AmitKapila.Patch by Ashutosh Sharma, reviewed by Amit Kapila, and tested byJeff Janes.Discussion:http://postgr.es/m/CAMkU=1w-9Qe=Ff1o6bSaXpNO9wqpo7_9GL8_CVhw4BoVVHasqg@mail.gmail.com1 parent1b02be2 commitc4c5154
File tree
4 files changed
+27
-28
lines changed- src
- backend/access
- hash
- rmgrdesc
- include/access
4 files changed
+27
-28
lines changedLines changed: 13 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
957 | 957 |
| |
958 | 958 |
| |
959 | 959 |
| |
960 |
| - | |
961 |
| - | |
962 | 960 |
| |
963 | 961 |
| |
964 | 962 |
| |
| |||
976 | 974 |
| |
977 | 975 |
| |
978 | 976 |
| |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
979 | 985 |
| |
980 | 986 |
| |
981 | 987 |
| |
982 | 988 |
| |
983 | 989 |
| |
984 | 990 |
| |
985 |
| - | |
| 991 | + | |
986 | 992 |
| |
987 | 993 |
| |
988 | 994 |
| |
| |||
994 | 1000 |
| |
995 | 1001 |
| |
996 | 1002 |
| |
997 |
| - | |
998 |
| - | |
999 |
| - | |
| 1003 | + | |
1000 | 1004 |
| |
1001 | 1005 |
| |
1002 | 1006 |
| |
| |||
1121 | 1125 |
| |
1122 | 1126 |
| |
1123 | 1127 |
| |
1124 |
| - | |
1125 |
| - | |
1126 |
| - | |
1127 |
| - | |
1128 |
| - | |
1129 | 1128 |
| |
1130 | 1129 |
| |
1131 |
| - | |
| 1130 | + | |
1132 | 1131 |
| |
1133 | 1132 |
| |
1134 |
| - | |
1135 | 1133 |
| |
1136 |
| - | |
1137 |
| - | |
| 1134 | + | |
1138 | 1135 |
| |
1139 |
| - | |
1140 |
| - | |
| 1136 | + | |
1141 | 1137 |
| |
1142 | 1138 |
| |
1143 | 1139 |
| |
|
Lines changed: 9 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
344 | 344 |
| |
345 | 345 |
| |
346 | 346 |
| |
347 |
| - | |
348 | 347 |
| |
349 | 348 |
| |
350 | 349 |
| |
| |||
355 | 354 |
| |
356 | 355 |
| |
357 | 356 |
| |
358 |
| - | |
359 | 357 |
| |
360 |
| - | |
361 |
| - | |
362 | 358 |
| |
363 | 359 |
| |
364 | 360 |
| |
| |||
386 | 382 |
| |
387 | 383 |
| |
388 | 384 |
| |
389 |
| - | |
| 385 | + | |
390 | 386 |
| |
391 | 387 |
| |
392 | 388 |
| |
| |||
398 | 394 |
| |
399 | 395 |
| |
400 | 396 |
| |
401 |
| - | |
| 397 | + | |
402 | 398 |
| |
403 | 399 |
| |
| 400 | + | |
404 | 401 |
| |
405 | 402 |
| |
406 |
| - | |
407 |
| - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
408 | 409 |
| |
409 | 410 |
| |
410 | 411 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
| 116 | + | |
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
265 | 265 |
| |
266 | 266 |
| |
267 | 267 |
| |
268 |
| - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
269 | 271 |
| |
270 | 272 |
| |
271 | 273 |
| |
272 |
| - | |
| 274 | + | |
273 | 275 |
| |
274 | 276 |
| |
275 | 277 |
| |
|
0 commit comments
Comments
(0)