- Notifications
You must be signed in to change notification settings - Fork28
Commit39369b4
committed
Zero padding in replication origin's checkpointed on disk-state.
This seems to be largely cosmetic, avoiding valgrind bleats and thelike. The uninitialized padding influences the CRC of the on-diskentry, but because it's also used when verifying the CRC, that doesn'tcause spurious failures. Backpatch nonetheless.It's a bit unfortunate that contrib/test_decoding/sql/replorigin.sqldoesn't exercise the checkpoint path, but checkpoints are fairlyexpensive on weaker machines, and we'd have to stop/start for that tobe meaningful.Author: Andres FreundDiscussion:https://postgr.es/m/20170422183123.w2jgiuxtts7qrqaq@alap3.anarazel.deBackpatch: 9.5, where replication origins were introduced1 parentf588548 commit39369b4
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
569 | 572 | | |
570 | 573 | | |
571 | 574 | | |
| |||
0 commit comments
Comments
(0)