mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Reduce default GEQO 'effort' setting to MEDIUM always.
This agrees with the documentation and seems like a more useful default anyhow ...
This commit is contained in:
parent
d52a91a5d8
commit
b2f14e11ec
@ -5,7 +5,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: geqo_params.c,v 1.16 1999/05/22 19:29:01 tgl Exp $
|
* $Id: geqo_params.c,v 1.17 1999/05/22 23:27:19 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -240,10 +240,7 @@ geqo_params(int string_length)
|
|||||||
/**************** Effort: essential ****************/
|
/**************** Effort: essential ****************/
|
||||||
if (!(effort))
|
if (!(effort))
|
||||||
{
|
{
|
||||||
if (PoolSize == MAX_POOL)
|
effort = MEDIUM_EFFORT;
|
||||||
effort = HIGH_EFFORT;
|
|
||||||
else
|
|
||||||
effort = MEDIUM_EFFORT;
|
|
||||||
|
|
||||||
elog(DEBUG, "geqo_params: no optimization effort specified;\nusing value of %d", effort);
|
elog(DEBUG, "geqo_params: no optimization effort specified;\nusing value of %d", effort);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user