mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Allow the planner's estimate of the fraction of a cursor's rows that will be
retrieved to be controlled through a GUC variable. Robert Hell
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.450 2008/05/01 19:55:40 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.451 2008/05/02 21:26:10 tgl Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@ -1891,6 +1891,16 @@ static struct config_real ConfigureNamesReal[] =
|
||||
DEFAULT_CPU_OPERATOR_COST, 0, DBL_MAX, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"cursor_tuple_fraction", PGC_USERSET, QUERY_TUNING_OTHER,
|
||||
gettext_noop("Sets the planner's estimate of the fraction of "
|
||||
"a cursor's rows that will be retrieved."),
|
||||
NULL
|
||||
},
|
||||
&cursor_tuple_fraction,
|
||||
DEFAULT_CURSOR_TUPLE_FRACTION, 0.0, 1.0, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"geqo_selection_bias", PGC_USERSET, QUERY_TUNING_GEQO,
|
||||
gettext_noop("GEQO: selective pressure within the population."),
|
||||
|
Reference in New Issue
Block a user