- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit7fcf2fa
committed
Make XLOG_FPI_FOR_HINT records honor full_page_writes setting.
Commit2c03216 changed XLOG_FPI_FOR_HINT records so that they alwaysincluded full-page images even when full_page_writes was disabled. However,in this setting, they don't need to do that because hint bit updates don'tneed to be protected from torn writes.Therefore, this commit makes XLOG_FPI_FOR_HINT records honor full_page_writessetting. That is, XLOG_FPI_FOR_HINT records may include no full-page imagesif full_page_writes is disabled, and WAL replay of them does nothing.Reported-by: Zhang WenjieAuthor: Kyotaro HoriguchiReviewed-by: Fujii MasaoDiscussion:https://postgr.es/m/tencent_60F11973A111EED97A8596FFECC4A91ED405@qq.com1 parentd9809bf commit7fcf2fa
2 files changed
+22
-15
lines changedLines changed: 21 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10148 | 10148 |
| |
10149 | 10149 |
| |
10150 | 10150 |
| |
10151 |
| - | |
| 10151 | + | |
| 10152 | + | |
| 10153 | + | |
| 10154 | + | |
10152 | 10155 |
| |
10153 | 10156 |
| |
10154 | 10157 |
| |
| |||
10356 | 10359 |
| |
10357 | 10360 |
| |
10358 | 10361 |
| |
10359 |
| - | |
10360 |
| - | |
10361 |
| - | |
10362 |
| - | |
| 10362 | + | |
| 10363 | + | |
| 10364 | + | |
| 10365 | + | |
| 10366 | + | |
| 10367 | + | |
| 10368 | + | |
| 10369 | + | |
| 10370 | + | |
| 10371 | + | |
10363 | 10372 |
| |
10364 | 10373 |
| |
10365 | 10374 |
| |
10366 | 10375 |
| |
10367 |
| - | |
10368 |
| - | |
10369 |
| - | |
10370 |
| - | |
10371 |
| - | |
10372 |
| - | |
10373 | 10376 |
| |
10374 | 10377 |
| |
10375 | 10378 |
| |
10376 | 10379 |
| |
10377 | 10380 |
| |
| 10381 | + | |
| 10382 | + | |
| 10383 | + | |
| 10384 | + | |
| 10385 | + | |
| 10386 | + | |
| 10387 | + | |
10378 | 10388 |
| |
10379 | 10389 |
| |
10380 | 10390 |
| |
|
Lines changed: 1 addition & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
290 |
| - | |
291 |
| - | |
292 | 290 |
| |
293 | 291 |
| |
294 | 292 |
| |
| |||
995 | 993 |
| |
996 | 994 |
| |
997 | 995 |
| |
998 |
| - | |
| 996 | + | |
999 | 997 |
| |
1000 | 998 |
| |
1001 | 999 |
| |
| |||
1022 | 1020 |
| |
1023 | 1021 |
| |
1024 | 1022 |
| |
1025 |
| - | |
1026 | 1023 |
| |
1027 | 1024 |
| |
1028 | 1025 |
| |
|
0 commit comments
Comments
(0)