From 48beecda7cbd2e73ebc11c88d3567ad064604bda Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 7 Sep 2003 15:26:54 +0000 Subject: Remove geqo_random_seed parameter. Having geqo reset the global random() sequence every time it's called is bogus --- it interferes with user control over the seed, and actually decreases randomness overall (because a seed based on time(NULL) is pretty predictable). If you really want a reproducible result from geqo, do 'set seed = 0' before planning a query. --- doc/src/sgml/runtime.sgml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 9bbecfa76bb..425036d81d3 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -1438,7 +1438,6 @@ SET ENABLE_SEQSCAN TO OFF; GEQO_EFFORT (integer) GEQO_GENERATIONS (integer) GEQO_POOL_SIZE (integer) - GEQO_RANDOM_SEED (integer) GEQO_SELECTION_BIAS (floating point) @@ -1455,9 +1454,7 @@ SET ENABLE_SEQSCAN TO OFF; is roughly proportional to the sum of pool size and generations. The selection bias is the selective pressure within the population. Values can be from 1.50 to 2.00; the latter is the - default. The random seed can be set to get reproducible results - from the algorithm. If it is set to -1 then the algorithm - behaves non-deterministically. + default. -- cgit v1.2.3