Commit b2f14e11 authored by Tom Lane's avatar Tom Lane

Reduce default GEQO 'effort' setting to MEDIUM always.

This agrees with the documentation and seems like a more useful default
anyhow ...
parent d52a91a5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment