mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Add all possible config file options.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: cost.h,v 1.35 2000/10/05 19:48:33 momjian Exp $
|
||||
* $Id: cost.h,v 1.36 2001/01/24 18:37:31 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
/* defaults for costsize.c's Cost parameters */
|
||||
/* NB: cost-estimation code should use the variables, not these constants! */
|
||||
/* If you change these, update backend/utils/misc/postgresql.sample.conf */
|
||||
#define DEFAULT_EFFECTIVE_CACHE_SIZE 1000.0 /* measured in pages */
|
||||
#define DEFAULT_RANDOM_PAGE_COST 4.0
|
||||
#define DEFAULT_CPU_TUPLE_COST 0.01
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: geqo.h,v 1.21 2000/09/19 18:42:32 tgl Exp $
|
||||
* $Id: geqo.h,v 1.22 2001/01/24 18:37:31 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -45,6 +45,7 @@
|
||||
/*
|
||||
* Configuration options
|
||||
*/
|
||||
/* If you change these, update backend/utils/misc/postgresql.sample.conf */
|
||||
extern int Geqo_pool_size;
|
||||
#define DEFAULT_GEQO_POOL_SIZE 0 /* = default based on no. of relations. */
|
||||
#define MIN_GEQO_POOL_SIZE 128
|
||||
@@ -54,6 +55,7 @@ extern int Geqo_effort; /* 1 .. inf, only used to calculate generations
|
||||
extern int Geqo_generations; /* 1 .. inf, or 0 to use default based on pool size */
|
||||
|
||||
extern double Geqo_selection_bias;
|
||||
/* If you change these, update backend/utils/misc/postgresql.sample.conf */
|
||||
#define DEFAULT_GEQO_SELECTION_BIAS 2.0
|
||||
#define MIN_GEQO_SELECTION_BIAS 1.5
|
||||
#define MAX_GEQO_SELECTION_BIAS 2.0
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: paths.h,v 1.49 2000/12/14 22:30:45 tgl Exp $
|
||||
* $Id: paths.h,v 1.50 2001/01/24 18:37:31 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "nodes/relation.h"
|
||||
|
||||
/* default GEQO threshold (default value for geqo_rels) */
|
||||
/* If you change this, update backend/utils/misc/postgresql.sample.conf */
|
||||
#define DEFAULT_GEQO_RELS 11
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user