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

Commit31a9893

Browse files
Fix typos in code comments and test data
The typos in 005_negotiate_encryption.pl and pg_combinebackup.cshall be backported to v17 where they were introduced.Backpatch-through: v17Discussion:https://postgr.es/m/Ztaj7BkN4658OMxF@paquier.xyz
1 parent2b5f579 commit31a9893

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/storage/buffer/bufmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4741,7 +4741,7 @@ RelationCopyStorageUsingBuffer(RelFileLocator srclocator,
47414741
bstrategy_src=GetAccessStrategy(BAS_BULKREAD);
47424742
bstrategy_dst=GetAccessStrategy(BAS_BULKWRITE);
47434743

4744-
/*Initalize streaming read */
4744+
/*Initialize streaming read */
47454745
p.blocknum=0;
47464746
p.nblocks=nblocks;
47474747
src_smgr=smgropen(srclocator,INVALID_PROC_NUMBER);

‎src/bin/pg_combinebackup/pg_combinebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ process_directory_recursively(Oid tsoid,
849849
*
850850
* We set is_pg_wal for the toplevel WAL directory and all of its
851851
* subdirectories, because those files are not included in the backup
852-
* manifest and hence need specialtreatement. (Since incremental backup
852+
* manifest and hence need specialtreatment. (Since incremental backup
853853
* does not exist in pre-v10 versions, we don't have to worry about the
854854
* old pg_xlog naming.)
855855
*

‎src/interfaces/libpq/t/005_negotiate_encryption.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ BEGIN
240240
. . require postgres connect, sslreject -> fail
241241
. . . direct connect, directsslreject -> fail
242242
243-
# sslnegotiation=direct is notacccepted unless sslmode=require or stronger
243+
# sslnegotiation=direct is notaccepted unless sslmode=require or stronger
244244
* * disable direct - -> fail
245245
* * allow direct - -> fail
246246
* * prefer direct - -> fail
@@ -303,7 +303,7 @@ BEGIN
303303
. . require postgres connect, sslaccept, authfail -> fail
304304
. . require direct connect, directsslaccept, authfail -> fail
305305
306-
# sslnegotiation=direct is notacccepted unless sslmode=require or stronger
306+
# sslnegotiation=direct is notaccepted unless sslmode=require or stronger
307307
* * disable direct - -> fail
308308
* * allow direct - -> fail
309309
* * prefer direct - -> fail
@@ -405,7 +405,7 @@ BEGIN
405405
. . require postgres connect, gssaccept, authfail -> fail # If both GSSAPI and sslmode are required, and GSS is not available -> fail
406406
. . . direct connect, gssaccept, authfail -> fail # If both GSSAPI and sslmode are required, and GSS is not available -> fail
407407
408-
# sslnegotiation=direct is notacccepted unless sslmode=require or stronger
408+
# sslnegotiation=direct is notaccepted unless sslmode=require or stronger
409409
* * disable direct - -> fail
410410
* * allow direct - -> fail
411411
* * prefer direct - -> fail
@@ -562,7 +562,7 @@ BEGIN
562562
. require * postgres connect, gssaccept, authok -> gss
563563
. . require direct connect, gssaccept, authok -> gss
564564
565-
# sslnegotiation=direct is notacccepted unless sslmode=require or stronger
565+
# sslnegotiation=direct is notaccepted unless sslmode=require or stronger
566566
* * disable direct - -> fail
567567
* * allow direct - -> fail
568568
* * prefer direct - -> fail

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp