Skip to content
Snippets Groups Projects
Commit b2f14e11 authored by Tom Lane's avatar Tom Lane
Browse files

Reduce default GEQO 'effort' setting to MEDIUM always.

This agrees with the documentation and seems like a more useful default
anyhow ...
parent d52a91a5
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -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) ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment