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

Commitb2f14e1

Browse files
committed
Reduce default GEQO 'effort' setting to MEDIUM always.
This agrees with the documentation and seems like a more useful defaultanyhow ...
1 parentd52a91a commitb2f14e1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎src/backend/optimizer/geqo/geqo_params.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: geqo_params.c,v 1.16 1999/05/2219:29:01 tgl Exp $
8+
* $Id: geqo_params.c,v 1.17 1999/05/2223:27:19 tgl Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -240,10 +240,7 @@ geqo_params(int string_length)
240240
/**************** Effort: essential ****************/
241241
if (!(effort))
242242
{
243-
if (PoolSize==MAX_POOL)
244-
effort=HIGH_EFFORT;
245-
else
246-
effort=MEDIUM_EFFORT;
243+
effort=MEDIUM_EFFORT;
247244

248245
elog(DEBUG,"geqo_params: no optimization effort specified;\nusing value of %d",effort);
249246

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp