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

Commit60379f6

Browse files
committed
Fix mistake in XLOG_SEG_SIZE test.
The intent of the test is to check whether XLOG_SEG_SIZE is in aparticular range, but actually in one case it compares XLOG_BLCKSZby mistake. Repair.Commit88e9823 introduced thisfaulty test.Kuntal Ghosh, reviewed by Michael Paquier.
1 parentde4026c commit60379f6

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/misc

1 file changed

+1
-1
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ typedef struct
707707
#ifXLOG_BLCKSZ<1024||XLOG_BLCKSZ> (1024*1024)
708708
#error XLOG_BLCKSZ must be between 1KB and 1MB
709709
#endif
710-
#ifXLOG_SEG_SIZE< (1024*1024)||XLOG_BLCKSZ> (1024*1024*1024)
710+
#ifXLOG_SEG_SIZE< (1024*1024)||XLOG_SEG_SIZE> (1024*1024*1024)
711711
#error XLOG_SEG_SIZE must be between 1MB and 1GB
712712
#endif
713713

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp