Skip to content

Commit b21005f

Browse files
committed
Allow GEQO effort to be specified numerically, as well as
symbolic LOW/MEDIUM/HIGH values --- needed for experiments with other effort levels ...
1 parent cf14789 commit b21005f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/optimizer/geqo/geqo_params.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: geqo_params.c,v 1.15 1999/05/17 00:25:33 tgl Exp $
8+
* $Id: geqo_params.c,v 1.16 1999/05/22 19:29:01 tgl Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -168,6 +168,9 @@ geqo_params(int string_length)
168168
effort = MEDIUM_EFFORT;
169169
else if (strcmp(buf, HIGH) == 0)
170170
effort = HIGH_EFFORT;
171+
/* undocumented extension: specify effort numerically */
172+
else if (isdigit(buf[0]))
173+
effort = atoi(buf);
171174
}
172175

173176
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy