PostgreSQL Source Code git master
Loading...
Searching...
No Matches
IndexOptInfo Struct Reference

#include <pathnodes.h>

Public Member Functions

 pg_node_attr (no_copy_equal, no_read, no_query_jumble) NodeTag type
 
RelOptInfo *rel pg_node_attr (read_write_ignore)
 
int *indexkeys pg_node_attr (array_size(ncolumns))
 
Oid *indexcollations pg_node_attr (array_size(nkeycolumns))
 
Oid *opfamily pg_node_attr (array_size(nkeycolumns))
 
Oid *opcintype pg_node_attr (array_size(nkeycolumns))
 
Oid *sortopfamily pg_node_attr (array_size(nkeycolumns))
 
bool *reverse_sort pg_node_attr (array_size(nkeycolumns))
 
bool *nulls_first pg_node_attr (array_size(nkeycolumns))
 
bytea **opclassoptions pg_node_attr (read_write_ignore)
 
bool *canreturn pg_node_attr (array_size(ncolumns))
 
List *indexprs pg_node_attr (read_write_ignore)
 

Data Fields

Oid indexoid
 
Oid reltablespace
 
BlockNumber pages
 
Cardinality tuples
 
int tree_height
 
int ncolumns
 
int nkeycolumns
 
Oid relam
 
List * indpred
 
List * indextlist
 
List * indrestrictinfo
 
bool predOK
 
bool unique
 
bool nullsnotdistinct
 
bool immediate
 
bool disabled
 
bool hypothetical
 
bool amcanorderbyop
 
bool amoptionalkey
 
bool amsearcharray
 
bool amsearchnulls
 
bool amhasgettuple
 
bool amhasgetbitmap
 
bool amcanparallel
 
bool amcanmarkpos
 
void(* amcostestimate )(struct PlannerInfo *, struct IndexPath *, double, Cost *, Cost *, Selectivity *, double *, double *) pg_node_attr(read_write_ignore)
 

Detailed Description

Definition at line 1346 of file pathnodes.h.

Member Function Documentation

◆ pg_node_attr() [1/12]

int *indexkeys IndexOptInfo::pg_node_attr ( array_size(ncolumns)  )

◆ pg_node_attr() [2/12]

bool *canreturn IndexOptInfo::pg_node_attr ( array_size(ncolumns)  )

◆ pg_node_attr() [3/12]

Oid *indexcollations IndexOptInfo::pg_node_attr ( array_size(nkeycolumns)  )

◆ pg_node_attr() [4/12]

Oid *opfamily IndexOptInfo::pg_node_attr ( array_size(nkeycolumns)  )

◆ pg_node_attr() [5/12]

Oid *opcintype IndexOptInfo::pg_node_attr ( array_size(nkeycolumns)  )

◆ pg_node_attr() [6/12]

Oid *sortopfamily IndexOptInfo::pg_node_attr ( array_size(nkeycolumns)  )

◆ pg_node_attr() [7/12]

bool *reverse_sort IndexOptInfo::pg_node_attr ( array_size(nkeycolumns)  )

◆ pg_node_attr() [8/12]

bool *nulls_first IndexOptInfo::pg_node_attr ( array_size(nkeycolumns)  )

◆ pg_node_attr() [9/12]

IndexOptInfo::pg_node_attr ( no_copy_equal  ,
no_read  ,
no_query_jumble   
)

◆ pg_node_attr() [10/12]

RelOptInfo *rel IndexOptInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [11/12]

bytea **opclassoptions IndexOptInfo::pg_node_attr ( read_write_ignore  )

◆ pg_node_attr() [12/12]

List *indexprs IndexOptInfo::pg_node_attr ( read_write_ignore  )

Field Documentation

◆ amcanmarkpos

bool IndexOptInfo::amcanmarkpos

Definition at line 1446 of file pathnodes.h.

Referenced by get_relation_info().

◆ amcanorderbyop

bool IndexOptInfo::amcanorderbyop

Definition at line 1436 of file pathnodes.h.

Referenced by get_relation_info().

◆ amcanparallel

bool IndexOptInfo::amcanparallel

Definition at line 1444 of file pathnodes.h.

Referenced by get_relation_info().

◆ amcostestimate

void(* IndexOptInfo::amcostestimate) (struct PlannerInfo *, struct IndexPath *, double, Cost *, Cost *, Selectivity *, double *, double *) pg_node_attr(read_write_ignore)

Definition at line 1449 of file pathnodes.h.

Referenced by get_relation_info().

◆ amhasgetbitmap

bool IndexOptInfo::amhasgetbitmap

Definition at line 1443 of file pathnodes.h.

Referenced by get_relation_info().

◆ amhasgettuple

bool IndexOptInfo::amhasgettuple

Definition at line 1441 of file pathnodes.h.

Referenced by get_relation_info().

◆ amoptionalkey

bool IndexOptInfo::amoptionalkey

Definition at line 1437 of file pathnodes.h.

Referenced by get_relation_info().

◆ amsearcharray

bool IndexOptInfo::amsearcharray

Definition at line 1438 of file pathnodes.h.

Referenced by get_relation_info().

◆ amsearchnulls

bool IndexOptInfo::amsearchnulls

Definition at line 1439 of file pathnodes.h.

Referenced by get_relation_info().

◆ disabled

bool IndexOptInfo::disabled

Definition at line 1428 of file pathnodes.h.

◆ hypothetical

bool IndexOptInfo::hypothetical

Definition at line 1430 of file pathnodes.h.

Referenced by get_relation_info().

◆ immediate

bool IndexOptInfo::immediate

Definition at line 1426 of file pathnodes.h.

Referenced by get_relation_info().

◆ indexoid

Oid IndexOptInfo::indexoid

Definition at line 1353 of file pathnodes.h.

Referenced by create_indexscan_plan(), get_relation_info(), and plan_cluster_use_sort().

◆ indextlist

List* IndexOptInfo::indextlist

Definition at line 1410 of file pathnodes.h.

Referenced by create_indexscan_plan(), and get_relation_info().

◆ indpred

List* IndexOptInfo::indpred

Definition at line 1407 of file pathnodes.h.

Referenced by get_relation_info().

◆ indrestrictinfo

List* IndexOptInfo::indrestrictinfo

Definition at line 1417 of file pathnodes.h.

Referenced by cost_index(), and get_relation_info().

◆ ncolumns

int IndexOptInfo::ncolumns

Definition at line 1373 of file pathnodes.h.

Referenced by get_relation_info(), and use_physical_tlist().

◆ nkeycolumns

int IndexOptInfo::nkeycolumns

Definition at line 1375 of file pathnodes.h.

Referenced by get_relation_info().

◆ nullsnotdistinct

bool IndexOptInfo::nullsnotdistinct

Definition at line 1424 of file pathnodes.h.

Referenced by get_relation_info().

◆ pages

BlockNumber IndexOptInfo::pages

Definition at line 1363 of file pathnodes.h.

Referenced by get_relation_info().

◆ predOK

bool IndexOptInfo::predOK

Definition at line 1420 of file pathnodes.h.

Referenced by get_relation_info().

◆ relam

Oid IndexOptInfo::relam

Definition at line 1399 of file pathnodes.h.

Referenced by get_relation_info().

◆ reltablespace

Oid IndexOptInfo::reltablespace

Definition at line 1355 of file pathnodes.h.

Referenced by get_relation_info().

◆ tree_height

int IndexOptInfo::tree_height

Definition at line 1367 of file pathnodes.h.

Referenced by get_relation_info().

◆ tuples

Cardinality IndexOptInfo::tuples

Definition at line 1365 of file pathnodes.h.

Referenced by get_relation_info().

◆ unique

bool IndexOptInfo::unique

Definition at line 1422 of file pathnodes.h.

Referenced by get_relation_info().


The documentation for this struct was generated from the following file: