Thread
Commits
-
doc: Standardize use of dashes in references to CRC and SHA.
- 7fceb5725b05 18.0 landed
-
doc: Fix name of CRC algorithm in "Reliability" section.
- c17d2d685821 13.17 landed
- b07a9ee36e57 14.14 landed
- 93c82d0e6a25 16.5 landed
- 8c3548613d7e 18.0 landed
- 75bb3354e6da 15.9 landed
- 6bec76faa4bd 17.0 landed
- 016c3ea26c0a 12.21 landed
-
Switch to CRC-32C in WAL and other places.
- 5028f22f6eb0 9.5.0 cited
-
fix CRC algorithm in WAL reliability docs
Nathan Bossart <nathandbossart@gmail.com> — 2024-08-08T17:51:32Z
I noticed that the "WAL reliability" documentation says that we use CRC-32 for WAL records and two-phase state files, but we've actually used CRC-32C since v9.5 (commit 5028f22). I've attached a short patch to fix this that I think should be back-patched to all supported versions. I've attached a second patch that standardizes how we refer to these kinds of algorithms in our docs. Specifically, it adds dashes (e.g., "CRC-32C" instead of "CRC32C"). Wikipedia uses this style pretty consistently [0] [1] [2], and so I think we should, too. I don't think this one needs to be back-patched. Thoughts? [0] https://en.wikipedia.org/wiki/SHA-1 [1] https://en.wikipedia.org/wiki/SHA-2 [2] https://en.wikipedia.org/wiki/Cyclic_redundancy_check -- nathan
-
Re: fix CRC algorithm in WAL reliability docs
Robert Haas <robertmhaas@gmail.com> — 2024-08-08T19:13:50Z
On Thu, Aug 8, 2024 at 1:51 PM Nathan Bossart <nathandbossart@gmail.com> wrote: > I noticed that the "WAL reliability" documentation says that we use CRC-32 > for WAL records and two-phase state files, but we've actually used CRC-32C > since v9.5 (commit 5028f22). I've attached a short patch to fix this that > I think should be back-patched to all supported versions. > > I've attached a second patch that standardizes how we refer to these kinds > of algorithms in our docs. Specifically, it adds dashes (e.g., "CRC-32C" > instead of "CRC32C"). Wikipedia uses this style pretty consistently [0] > [1] [2], and so I think we should, too. I don't think this one needs to be > back-patched. > > Thoughts? LGTM. -- Robert Haas EDB: http://www.enterprisedb.com
-
Re: fix CRC algorithm in WAL reliability docs
Nathan Bossart <nathandbossart@gmail.com> — 2024-08-09T18:17:35Z
On Thu, Aug 08, 2024 at 03:13:50PM -0400, Robert Haas wrote: > LGTM. Committed, thanks. -- nathan