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

Commit72ce781

Browse files
committed
Make min_parallel_relation_size's default value platform-independent.
The documentation states that the default value is 8MB, but this wasonly true at BLCKSZ = 8kB, because the default was hard-coded as 1024.Make the code match the docs by computing the default as 8MB/BLCKSZ.Oversight in commit75be664, noted pursuant to a gripe from Peter E.Discussion: <90634e20-097a-e4fd-67d5-fb2c42f0dd71@2ndquadrant.com>
1 parentbea38f3 commit72ce781

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
@@ -2758,7 +2758,7 @@ static struct config_int ConfigureNamesInt[] =
27582758
GUC_UNIT_BLOCKS,
27592759
},
27602760
&min_parallel_relation_size,
2761-
1024,0,INT_MAX /3,
2761+
(8*1024*1024) /BLCKSZ,0,INT_MAX /3,
27622762
NULL,NULL,NULL
27632763
},
27642764

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp