Reduce default GEQO 'effort' setting to MEDIUM always.

This agrees with the documentation and seems like a more useful default
anyhow ...
REL6_5_PATCHES
Tom Lane 27 years ago
parent d52a91a5d8
commit b2f14e11ec
  1. 5
      src/backend/optimizer/geqo/geqo_params.c

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

Loading…
Cancel
Save