Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb21005f

Browse files
committed
Allow GEQO effort to be specified numerically, as well as
symbolic LOW/MEDIUM/HIGH values --- needed for experiments with othereffort levels ...
1 parentcf14789 commitb21005f

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
elseif (strcmp(buf,HIGH)==0)
170170
effort=HIGH_EFFORT;
171+
/* undocumented extension: specify effort numerically */
172+
elseif (isdigit(buf[0]))
173+
effort=atoi(buf);
171174
}
172175

173176
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp