forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaf07a82
committed
Refactor PinBufferForBlock() to remove checks about persistence.
There are checks in PinBufferForBlock() function to set persistence ofthe relation. This function is called for each block in the relation.Instead, set persistence of the relation before PinBufferForBlock().Nazir Bilal YavuzDiscussion:https://postgr.es/m/CAN55FZ0JKL6vk1xQp6rfOXiNFV1u1H0tJDPPGHWoiO3ea2Wc=A@mail.gmail.com1 parente00c45f commitaf07a82
File tree
3 files changed
+17
-14
lines changed- src
- backend/storage
- aio
- buffer
- include/storage
3 files changed
+17
-14
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
551 | 551 |
| |
552 | 552 |
| |
553 | 553 |
| |
554 |
| - | |
| 554 | + | |
555 | 555 |
| |
556 | 556 |
| |
557 | 557 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1104 | 1104 |
| |
1105 | 1105 |
| |
1106 | 1106 |
| |
1107 |
| - | |
| 1107 | + | |
1108 | 1108 |
| |
1109 | 1109 |
| |
1110 | 1110 |
| |
| |||
1113 | 1113 |
| |
1114 | 1114 |
| |
1115 | 1115 |
| |
1116 |
| - | |
1117 | 1116 |
| |
1118 | 1117 |
| |
1119 | 1118 |
| |
1120 |
| - | |
1121 |
| - | |
1122 |
| - | |
1123 |
| - | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
1124 | 1123 |
| |
1125 | 1124 |
| |
1126 | 1125 |
| |
| |||
1195 | 1194 |
| |
1196 | 1195 |
| |
1197 | 1196 |
| |
| 1197 | + | |
1198 | 1198 |
| |
1199 | 1199 |
| |
1200 | 1200 |
| |
| |||
1216 | 1216 |
| |
1217 | 1217 |
| |
1218 | 1218 |
| |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
1219 | 1224 |
| |
1220 | 1225 |
| |
1221 | 1226 |
| |
1222 | 1227 |
| |
1223 | 1228 |
| |
1224 |
| - | |
| 1229 | + | |
1225 | 1230 |
| |
1226 | 1231 |
| |
1227 | 1232 |
| |
| |||
1233 | 1238 |
| |
1234 | 1239 |
| |
1235 | 1240 |
| |
1236 |
| - | |
| 1241 | + | |
1237 | 1242 |
| |
1238 | 1243 |
| |
1239 | 1244 |
| |
| |||
1264 | 1269 |
| |
1265 | 1270 |
| |
1266 | 1271 |
| |
1267 |
| - | |
| 1272 | + | |
1268 | 1273 |
| |
1269 | 1274 |
| |
1270 | 1275 |
| |
| |||
1410 | 1415 |
| |
1411 | 1416 |
| |
1412 | 1417 |
| |
| 1418 | + | |
1413 | 1419 |
| |
1414 |
| - | |
1415 |
| - | |
1416 |
| - | |
1417 | 1420 |
| |
1418 | 1421 |
| |
1419 | 1422 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
120 |
| - | |
| 120 | + | |
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
|
0 commit comments
Comments
(0)