PostgreSQL Source Code  git master
IndexOptInfo Struct Reference

#include <pathnodes.h>

Public Member Functions

 pg_node_attr (no_copy_equal, no_read) 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
 
Listindpred
 
Listindextlist
 
Listindrestrictinfo
 
bool predOK
 
bool unique
 
bool immediate
 
bool hypothetical
 
bool amcanorderbyop
 
bool amoptionalkey
 
bool amsearcharray
 
bool amsearchnulls
 
bool amhasgettuple
 
bool amhasgetbitmap
 
bool amcanparallel
 
bool amcanmarkpos
 
void(* amcostestimate )() pg_node_attr(read_write_ignore)
 

Detailed Description

Definition at line 1099 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   
)

◆ 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 1195 of file pathnodes.h.

Referenced by get_relation_info().

◆ amcanorderbyop

bool IndexOptInfo::amcanorderbyop

Definition at line 1185 of file pathnodes.h.

Referenced by get_relation_info().

◆ amcanparallel

bool IndexOptInfo::amcanparallel

Definition at line 1193 of file pathnodes.h.

Referenced by get_relation_info().

◆ amcostestimate

void(* IndexOptInfo::amcostestimate) () pg_node_attr(read_write_ignore)

Definition at line 1198 of file pathnodes.h.

Referenced by get_relation_info().

◆ amhasgetbitmap

bool IndexOptInfo::amhasgetbitmap

Definition at line 1192 of file pathnodes.h.

Referenced by get_relation_info().

◆ amhasgettuple

bool IndexOptInfo::amhasgettuple

Definition at line 1190 of file pathnodes.h.

Referenced by get_relation_info().

◆ amoptionalkey

bool IndexOptInfo::amoptionalkey

Definition at line 1186 of file pathnodes.h.

Referenced by get_relation_info().

◆ amsearcharray

bool IndexOptInfo::amsearcharray

Definition at line 1187 of file pathnodes.h.

Referenced by get_relation_info().

◆ amsearchnulls

bool IndexOptInfo::amsearchnulls

Definition at line 1188 of file pathnodes.h.

Referenced by get_relation_info().

◆ hypothetical

bool IndexOptInfo::hypothetical

Definition at line 1179 of file pathnodes.h.

Referenced by get_relation_info().

◆ immediate

bool IndexOptInfo::immediate

Definition at line 1177 of file pathnodes.h.

Referenced by get_relation_info().

◆ indexoid

Oid IndexOptInfo::indexoid

Definition at line 1106 of file pathnodes.h.

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

◆ indextlist

List* IndexOptInfo::indextlist

Definition at line 1163 of file pathnodes.h.

Referenced by create_indexscan_plan(), and get_relation_info().

◆ indpred

List* IndexOptInfo::indpred

Definition at line 1160 of file pathnodes.h.

Referenced by create_bitmap_subplan(), find_indexpath_quals(), and get_relation_info().

◆ indrestrictinfo

List* IndexOptInfo::indrestrictinfo

Definition at line 1170 of file pathnodes.h.

Referenced by cost_index(), and get_relation_info().

◆ ncolumns

int IndexOptInfo::ncolumns

Definition at line 1126 of file pathnodes.h.

Referenced by get_relation_info(), and use_physical_tlist().

◆ nkeycolumns

int IndexOptInfo::nkeycolumns

Definition at line 1128 of file pathnodes.h.

Referenced by get_relation_info().

◆ pages

BlockNumber IndexOptInfo::pages

Definition at line 1116 of file pathnodes.h.

Referenced by get_indexpath_pages(), and get_relation_info().

◆ predOK

bool IndexOptInfo::predOK

Definition at line 1173 of file pathnodes.h.

Referenced by get_relation_info().

◆ relam

Oid IndexOptInfo::relam

Definition at line 1152 of file pathnodes.h.

Referenced by get_relation_info().

◆ reltablespace

Oid IndexOptInfo::reltablespace

Definition at line 1108 of file pathnodes.h.

Referenced by get_relation_info().

◆ tree_height

int IndexOptInfo::tree_height

Definition at line 1120 of file pathnodes.h.

Referenced by get_relation_info().

◆ tuples

Cardinality IndexOptInfo::tuples

Definition at line 1118 of file pathnodes.h.

Referenced by get_relation_info().

◆ unique

bool IndexOptInfo::unique

Definition at line 1175 of file pathnodes.h.

Referenced by get_relation_info().


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