From 9ab4d98168407c3436d3f0e02d32720b0d9075a0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 5 Jun 2005 22:32:58 +0000 Subject: Remove planner's private fields from Query struct, and put them into a new PlannerInfo struct, which is passed around instead of the bare Query in all the planning code. This commit is essentially just a code-beautification exercise, but it does open the door to making larger changes to the planner data structures without having to muck with the widely-known Query struct. --- doc/src/sgml/indexam.sgml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/indexam.sgml b/doc/src/sgml/indexam.sgml index 9a84509f749..cbc01bae8c4 100644 --- a/doc/src/sgml/indexam.sgml +++ b/doc/src/sgml/indexam.sgml @@ -1,5 +1,5 @@ @@ -319,7 +319,7 @@ amrestrpos (IndexScanDesc scan); void -amcostestimate (Query *root, +amcostestimate (PlannerInfo *root, IndexOptInfo *index, List *indexQuals, Cost *indexStartupCost, @@ -656,7 +656,7 @@ amcostestimate (Query *root, void -amcostestimate (Query *root, +amcostestimate (PlannerInfo *root, IndexOptInfo *index, List *indexQuals, Cost *indexStartupCost, @@ -672,7 +672,7 @@ amcostestimate (Query *root, root - The query being processed. + The planner's information about the query being processed. -- cgit v1.2.3