|
PostgreSQL Source Code git master
|
#include "access/cmptype.h"#include "access/genam.h"#include "access/stratnum.h"#include "nodes/nodes.h"#include "nodes/pg_list.h"

Go to the source code of this file.
Data Structures | |
| struct | OpFamilyMember |
| struct | IndexAmRoutine |
Functions | |
| const IndexAmRoutine * | GetIndexAmRoutine (Oid amhandler) |
| const IndexAmRoutine * | GetIndexAmRoutineByAmId (Oid amoid, bool noerror) |
| CompareType | IndexAmTranslateStrategy (StrategyNumber strategy, Oid amoid, Oid opfamily, bool missing_ok) |
| StrategyNumber | IndexAmTranslateCompareType (CompareType cmptype, Oid amoid, Oid opfamily, bool missing_ok) |
| typedef IndexScanDesc(* ambeginscan_function) (Relation indexRelation, int nkeys, int norderbys) |
| typedef IndexBuildResult *(* ambuild_function) (Relation heapRelation, Relation indexRelation, IndexInfo *indexInfo) |
| typedef IndexBulkDeleteResult *(* ambulkdelete_function) (IndexVacuumInfo *info, IndexBulkDeleteResult *stats, IndexBulkDeleteCallback callback, void *callback_state) |
| typedef void(* amcostestimate_function) (PlannerInfo *root, IndexPath *path, double loop_count, Cost *indexStartupCost, Cost *indexTotalCost, Selectivity *indexSelectivity, double *indexCorrelation, double *indexPages) |
| typedef void(* amendscan_function) (IndexScanDesc scan) |
| typedef int64(* amgetbitmap_function) (IndexScanDesc scan, TIDBitmap *tbm) |
| typedef bool(* amgettuple_function) (IndexScanDesc scan, ScanDirection direction) |
| typedef bool(* aminsert_function) (Relation indexRelation, Datum *values, bool *isnull, ItemPointer heap_tid, Relation heapRelation, IndexUniqueCheck checkUnique, bool indexUnchanged, IndexInfo *indexInfo) |
| typedef void(* ammarkpos_function) (IndexScanDesc scan) |
| typedef void(* amparallelrescan_function) (IndexScanDesc scan) |
| typedef void(* amrestrpos_function) (IndexScanDesc scan) |
| typedef StrategyNumber(* amtranslate_cmptype_function) (CompareType cmptype, Oid opfamily) |
| typedef CompareType(* amtranslate_strategy_function) (StrategyNumber strategy, Oid opfamily) |
| typedef IndexBulkDeleteResult *(* amvacuumcleanup_function) (IndexVacuumInfo *info, IndexBulkDeleteResult *stats) |
|
extern |
Definition at line 33 of file amapi.c.
References IndexAmRoutine::ambeginscan, IndexAmRoutine::ambuild, IndexAmRoutine::ambuildempty, IndexAmRoutine::ambulkdelete, IndexAmRoutine::amcostestimate, IndexAmRoutine::amendscan, IndexAmRoutine::aminsert, IndexAmRoutine::amoptions, IndexAmRoutine::amrescan, IndexAmRoutine::amvacuumcleanup, IndexAmRoutine::amvalidate, Assert, DatumGetPointer(), elog, ERROR, fb(), IsA, and OidFunctionCall0.
Referenced by CheckIndexCompatible(), DefineIndex(), GetIndexAmRoutineByAmId(), InitIndexAmRoutine(), and pg_get_indexdef_worker().
|
extern |
Definition at line 69 of file amapi.c.
References elog, ereport, errcode(), errmsg(), ERROR, fb(), GetIndexAmRoutine(), GETSTRUCT(), HeapTupleIsValid, NameStr, ObjectIdGetDatum(), RegProcedureIsValid, ReleaseSysCache(), and SearchSysCache1().
Referenced by AlterOpFamily(), AlterOpFamilyAdd(), amvalidate(), assignOperTypes(), assignProcTypes(), comparison_ops_are_compatible(), ConstructTupleDescriptor(), DefineOpClass(), equality_ops_are_compatible(), get_op_index_interpretation(), get_opmethod_canorder(), indexam_property(), IndexAmTranslateCompareType(), IndexAmTranslateStrategy(), IndexSupportsBackwardScan(), IsIndexUsableForReplicaIdentityFull(), and pg_indexam_progress_phasename().
|
extern |
Definition at line 161 of file amapi.c.
References COMPARE_GT, COMPARE_INVALID, elog, ERROR, fb(), GetIndexAmRoutineByAmId(), and InvalidStrategy.
Referenced by ATAddForeignKeyConstraint(), build_replindex_scan_key(), BuildSpeculativeIndexInfo(), get_opfamily_member_for_cmptype(), GetOperatorFromCompareType(), IsIndexUsableForReplicaIdentityFull(), and mergejoinscansel().
|
extern |
Definition at line 131 of file amapi.c.
References BTMaxStrategyNumber, COMPARE_INVALID, elog, ERROR, fb(), GetIndexAmRoutineByAmId(), and InvalidStrategy.
Referenced by get_actual_variable_range(), get_mergejoin_opfamilies(), get_op_index_interpretation(), get_ordering_op_for_equality_op(), get_ordering_op_properties(), mergejoinscansel(), and MJExamineQuals().