mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
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.
This commit is contained in:
@ -121,7 +121,6 @@
|
||||
#geqo_generations = 0
|
||||
#geqo_pool_size = 0 # default based on tables in statement,
|
||||
# range 128-1024
|
||||
#geqo_random_seed = -1 # -1 = use variable seed
|
||||
#geqo_selection_bias = 2.0 # range 1.5-2.0
|
||||
|
||||
# - Other Planner Options -
|
||||
|
Reference in New Issue
Block a user