mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Revise handling of index-type-specific indexscan cost estimation, per
pghackers discussion of 5-Jan-2000. The amopselect and amopnpages estimators are gone, and in their place is a per-AM amcostestimate procedure (linked to from pg_am, not pg_amop).
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: paths.h,v 1.37 2000/01/09 00:26:47 tgl Exp $
|
||||
* $Id: paths.h,v 1.38 2000/01/22 23:50:27 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -16,9 +16,16 @@
|
||||
|
||||
#include "nodes/relation.h"
|
||||
|
||||
/* default GEQO threshold (default value for geqo_rels) */
|
||||
#define GEQO_RELS 11
|
||||
|
||||
|
||||
/*
|
||||
* allpaths.c
|
||||
*/
|
||||
extern bool enable_geqo;
|
||||
extern int geqo_rels;
|
||||
|
||||
extern RelOptInfo *make_one_rel(Query *root, List *rels);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user