forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbfa5f30
committed
Awhile back I added some code to StartupCLOG() to forcibly zero out
the remainder of the current clog page during system startup. Whilethis was a good idea, it turns out the code fails if nextXid isexactly at a page boundary, because we won't have created the "current"clog page yet in that case. Since the page will be correctly zeroedwhen we execute the first transaction on it, the solution is just todo nothing when exactly at a page boundary. Per trouble report fromDave Hartwig.1 parent766b0bb commitbfa5f30
1 file changed
+19
-13
lines changedLines changed: 19 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| |||
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
219 | 215 |
| |
220 | 216 |
| |
221 | 217 |
| |
| |||
232 | 228 |
| |
233 | 229 |
| |
234 | 230 |
| |
235 |
| - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
236 | 234 |
| |
237 |
| - | |
238 |
| - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
239 | 241 |
| |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
| 242 | + | |
| 243 | + | |
244 | 244 |
| |
245 |
| - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
246 | 252 |
| |
247 | 253 |
| |
248 | 254 |
| |
|
0 commit comments
Comments
(0)