Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7fceb57

Browse files
doc: Standardize use of dashes in references to CRC and SHA.
Presently, we inconsistently use dashes in references to thesealgorithms (e.g., CRC32C versus CRC-32C). Some popular web sourcesappear to prefer dashes, and with this commit, we will, too.Reviewed-by: Robert HaasDiscussion:https://postgr.es/m/ZrUFpLP-w2zTAHqq%40nathan
1 parent8c35486 commit7fceb57

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎doc/src/sgml/backup-manifest.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@
8787
<listitem>
8888
<para>
8989
This key is always present on the last line of the backup manifest file.
90-
The associated value is aSHA256 checksum of all the preceding lines.
90+
The associated value is aSHA-256 checksum of all the preceding lines.
9191
We use a fixed checksum method here to make it possible for clients
92-
to do incremental parsing of the manifest. While aSHA256 checksum
93-
is significantly more expensive than aCRC32C checksum, the manifest
92+
to do incremental parsing of the manifest. While aSHA-256 checksum
93+
is significantly more expensive than aCRC-32C checksum, the manifest
9494
should normally be small enough that the extra computation won't matter
9595
very much.
9696
</para>

‎doc/src/sgml/pgcrypto.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ hmac(data bytea, key bytea, type text) returns bytea
106106

107107
<para>
108108
The algorithms in <function>crypt()</function> differ from the usual
109-
MD5 orSHA1 hashing algorithms in the following respects:
109+
MD5 orSHA-1 hashing algorithms in the following respects:
110110
</para>
111111

112112
<orderedlist>
@@ -525,7 +525,7 @@ gen_salt(type text [, iter_count integer ]) returns text
525525
</listitem>
526526
<listitem>
527527
<para>
528-
ASHA1 hash of the random prefix and data is appended.
528+
ASHA-1 hash of the random prefix and data is appended.
529529
</para>
530530
</listitem>
531531
<listitem>

‎doc/src/sgml/ref/pg_basebackup.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ PostgreSQL documentation
687687
<para>
688688
Using a SHA hash function provides a cryptographically secure digest
689689
of each file for users who wish to verify that the backup has not been
690-
tampered with, while theCRC32C algorithm provides a checksum that is
690+
tampered with, while theCRC-32C algorithm provides a checksum that is
691691
much faster to calculate; it is good at catching errors due to accidental
692692
changes but is not resistant to malicious modifications. Note that, to
693693
be useful against an adversary who has access to the backup, the backup

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp