|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | spgConfigIn |
| struct | spgConfigOut |
| struct | spgChooseIn |
| struct | spgChooseOut |
| struct | spgPickSplitIn |
| struct | spgPickSplitOut |
| struct | spgInnerConsistentIn |
| struct | spgInnerConsistentOut |
| struct | spgLeafConsistentIn |
| struct | spgLeafConsistentOut |
Enumerations | |
| enum | spgChooseResultType { spgMatchNode = 1 , spgAddNode , spgSplitTuple } |
| Enumerator | |
|---|---|
| spgMatchNode | |
| spgAddNode | |
| spgSplitTuple | |
Definition at line 67 of file spgist.h.
|
extern |
Definition at line 323 of file spgvalidate.c.
References ereport, errcode(), errmsg(), ERROR, fb(), functions, lfirst, OpFamilyMember::number, OpFamilyMember::ref_is_family, OpFamilyMember::ref_is_hard, OpFamilyMember::refobjid, SPGIST_CHOOSE_PROC, SPGIST_COMPRESS_PROC, SPGIST_CONFIG_PROC, SPGIST_INNER_CONSISTENT_PROC, SPGIST_LEAF_CONSISTENT_PROC, SPGIST_OPTIONS_PROC, and SPGIST_PICKSPLIT_PROC.
Referenced by spghandler().
|
extern |
Definition at line 305 of file spgscan.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, CurrentMemoryContext, fb(), fmgr_info_copy(), get_float8_infinity(), getSpGistTupleDesc(), i, index_getprocinfo(), IndexScanDescData::indexRelation, initSpGistState(), IndexScanDescData::numberOfOrderBys, IndexScanDescData::opaque, palloc0_array, palloc0_object, palloc_array, RelationData::rd_indcollation, RelationGetIndexScan(), SPGIST_INNER_CONSISTENT_PROC, SPGIST_LEAF_CONSISTENT_PROC, IndexScanDescData::xs_hitupdesc, IndexScanDescData::xs_orderbynulls, and IndexScanDescData::xs_orderbyvals.
Referenced by spghandler().
|
extern |
Definition at line 73 of file spginsert.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, Assert, BufferGetBlockNumber(), BufferGetPage(), CurrentMemoryContext, elog, END_CRIT_SECTION, ERROR, fb(), IndexBuildResult::heap_tuples, IndexBuildResult::index_tuples, initSpGistState(), log_newpage_range(), MAIN_FORKNUM, MarkBufferDirty(), MemoryContextDelete(), palloc0_object, RelationGetNumberOfBlocks, RelationGetRelationName, RelationNeedsWAL, SPGIST_LEAF, SPGIST_METAPAGE_BLKNO, SPGIST_NULL_BLKNO, SPGIST_NULLS, SPGIST_ROOT_BLKNO, spgistBuildCallback(), SpGistInitBuffer(), SpGistInitMetapage(), SpGistNewBuffer(), SpGistUpdateMetaPage(), START_CRIT_SECTION, table_index_build_scan(), and UnlockReleaseBuffer().
Referenced by spghandler().
Definition at line 154 of file spginsert.c.
References buf, INIT_FORKNUM, smgr_bulk_finish(), smgr_bulk_get_buf(), smgr_bulk_start_rel(), smgr_bulk_write(), SPGIST_LEAF, SPGIST_METAPAGE_BLKNO, SPGIST_NULL_BLKNO, SPGIST_NULLS, SPGIST_ROOT_BLKNO, SpGistInitMetapage(), and SpGistInitPage().
Referenced by spghandler().
|
extern |
Definition at line 950 of file spgvacuum.c.
References callback(), fb(), palloc0_object, and spgvacuumscan().
Referenced by spghandler().
Definition at line 1078 of file spgscan.c.
References spgConfigOut::canReturnData, SpGistCache::config, and spgGetCache().
Referenced by spghandler().
|
extern |
Definition at line 424 of file spgscan.c.
References fb(), FreeTupleDesc(), MemoryContextDelete(), IndexScanDescData::numberOfOrderBys, IndexScanDescData::opaque, pfree(), RelationGetDescr, IndexScanDescData::xs_orderbynulls, and IndexScanDescData::xs_orderbyvals.
Referenced by spghandler().
|
extern |
Definition at line 937 of file spgscan.c.
References fb(), IndexScanDescData::indexRelation, IndexScanDescData::opaque, spgWalk(), and storeBitmap().
Referenced by spghandler().
|
extern |
Definition at line 1021 of file spgscan.c.
References elog, ERROR, fb(), ForwardScanDirection, i, index_store_float8_orderby_distances(), IndexScanDescData::indexRelation, IndexScanDescData::opaque, pfree(), spgWalk(), storeGettuple(), IndexScanDescData::xs_heaptid, IndexScanDescData::xs_hitup, IndexScanDescData::xs_recheck, and IndexScanDescData::xs_want_itup.
Referenced by spghandler().
|
extern |
Definition at line 183 of file spginsert.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, CurrentMemoryContext, fb(), initSpGistState(), MemoryContextDelete(), MemoryContextReset(), MemoryContextSwitchTo(), spgdoinsert(), SpGistUpdateMetaPage(), and values.
Referenced by spghandler().
Definition at line 760 of file spgutils.c.
References build_reloptions(), fb(), fillfactor, lengthof, RELOPT_KIND_SPGIST, RELOPT_TYPE_INT, and validate().
Referenced by spghandler().
|
extern |
Definition at line 375 of file spgscan.c.
References fb(), get_func_rettype(), i, IndexScanDescData::indexRelation, IndexScanDescData::instrument, IndexScanDescData::keyData, IndexScanInstrumentation::nsearches, IndexScanDescData::numberOfKeys, IndexScanDescData::numberOfOrderBys, IndexScanDescData::opaque, IndexScanDescData::orderByData, pgstat_count_index_scan, resetSpGistScanOpaque(), and spgPrepareScanKeys().
Referenced by spghandler().
|
extern |
Definition at line 981 of file spgvacuum.c.
References IndexVacuumInfo::analyze_only, dummy_callback(), IndexVacuumInfo::estimated_count, fb(), IndexVacuumInfo::num_heap_tuples, IndexBulkDeleteResult::num_index_tuples, palloc0_object, and spgvacuumscan().
Referenced by spghandler().
Definition at line 38 of file spgvalidate.c.
References check_amop_signature(), check_amoptsproc_signature(), check_amproc_signature(), elog, ereport, errcode(), errmsg(), ERROR, fb(), format_operator(), format_procedure(), format_type_be(), OpFamilyOpFuncGroup::functionset, get_op_rettype(), get_opfamily_name(), GETSTRUCT(), HeapTupleIsValid, i, identify_opfamily_groups(), INFO, InvalidOid, OpFamilyOpFuncGroup::lefttype, lfirst, NameStr, ObjectIdGetDatum(), OidFunctionCall2, OidIsValid, opfamily_can_sort_type(), PointerGetDatum(), ReleaseCatCacheList(), ReleaseSysCache(), OpFamilyOpFuncGroup::righttype, SearchSysCache1(), SearchSysCacheList1, SPGIST_CHOOSE_PROC, SPGIST_COMPRESS_PROC, SPGIST_CONFIG_PROC, SPGIST_INNER_CONSISTENT_PROC, SPGIST_LEAF_CONSISTENT_PROC, SPGIST_OPTIONS_PROC, SPGIST_PICKSPLIT_PROC, and SPGISTNProc.
Referenced by spghandler().