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:
Tom Lane 1999-05-22 23:27:19 +00:00
parent d52a91a5d8
commit b2f14e11ec
1 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,7 @@
*
* 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 ****************/
if (!(effort))
{
if (PoolSize == MAX_POOL)
effort = HIGH_EFFORT;
else
effort = MEDIUM_EFFORT;
effort = MEDIUM_EFFORT;
elog(DEBUG, "geqo_params: no optimization effort specified;\nusing value of %d", effort);