PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
stratnum.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define InvalidStrategy   ((StrategyNumber) 0)
 
#define BTLessStrategyNumber   1
 
#define BTLessEqualStrategyNumber   2
 
#define BTEqualStrategyNumber   3
 
#define BTGreaterEqualStrategyNumber   4
 
#define BTGreaterStrategyNumber   5
 
#define BTMaxStrategyNumber   5
 
#define RTLeftStrategyNumber   1 /* for << */
 
#define RTOverLeftStrategyNumber   2 /* for &< */
 
#define RTOverlapStrategyNumber   3 /* for && */
 
#define RTOverRightStrategyNumber   4 /* for &> */
 
#define RTRightStrategyNumber   5 /* for >> */
 
#define RTSameStrategyNumber   6 /* for ~= */
 
#define RTContainsStrategyNumber   7 /* for @> */
 
#define RTContainedByStrategyNumber   8 /* for <@ */
 
#define RTOverBelowStrategyNumber   9 /* for &<| */
 
#define RTBelowStrategyNumber   10 /* for <<| */
 
#define RTAboveStrategyNumber   11 /* for |>> */
 
#define RTOverAboveStrategyNumber   12 /* for |&> */
 
#define RTOldContainsStrategyNumber   13 /* for old spelling of @> */
 
#define RTOldContainedByStrategyNumber   14 /* for old spelling of <@ */
 
#define RTKNNSearchStrategyNumber   15 /* for <-> (distance) */
 
#define RTContainsElemStrategyNumber   16 /* for range types @> elem */
 
#define RTAdjacentStrategyNumber   17 /* for -|- */
 
#define RTEqualStrategyNumber   18 /* for = */
 
#define RTNotEqualStrategyNumber   19 /* for != */
 
#define RTLessStrategyNumber   20 /* for < */
 
#define RTLessEqualStrategyNumber   21 /* for <= */
 
#define RTGreaterStrategyNumber   22 /* for > */
 
#define RTGreaterEqualStrategyNumber   23 /* for >= */
 
#define RTSubStrategyNumber   24 /* for inet >> */
 
#define RTSubEqualStrategyNumber   25 /* for inet <<= */
 
#define RTSuperStrategyNumber   26 /* for inet << */
 
#define RTSuperEqualStrategyNumber   27 /* for inet >>= */
 
#define RTMaxStrategyNumber   27
 

Typedefs

typedef uint16 StrategyNumber
 

Macro Definition Documentation

#define BTEqualStrategyNumber   3

Definition at line 31 of file stratnum.h.

Referenced by _bt_compare_scankey_args(), _bt_first(), _bt_fix_scankey_strategy(), _bt_mark_scankey_required(), _bt_preprocess_array_keys(), _bt_preprocess_keys(), AfterTriggerSetState(), AlterConstraintNamespaces(), AlterDatabase(), AlterDatabaseOwner(), AlterDomainDropConstraint(), AlterDomainValidateConstraint(), AlterExtensionNamespace(), AlterPolicy(), AlterSeqNamespaces(), AlterSetting(), AlterTableMoveAll(), AlterTableSpaceOptions(), ApplyExtensionUpdates(), ApplySetting(), ATAddForeignKeyConstraint(), ATExecAddOf(), ATExecAlterColumnType(), ATExecAlterConstraint(), ATExecAttachPartition(), ATExecDropConstraint(), ATExecValidateConstraint(), ATPrepChangePersistence(), AttrDefaultFetch(), brin_minmax_consistent(), btcostestimate(), btvalidate(), build_replindex_scan_key(), BuildSpeculativeIndexInfo(), CatalogCacheInitializeCache(), change_owner_fix_column_acls(), change_owner_recurse_to_sequences(), changeDependencyFor(), CheckConstraintFetch(), checkSharedDependencies(), ChooseConstraintName(), ConstraintNameIsUsed(), copyTemplateDependencies(), CountDBSubscriptions(), CreateComments(), CreateInheritance(), CreatePolicy(), CreateSharedComments(), CreateTrigger(), DefineOpClass(), DefineTSConfiguration(), DeleteAttributeTuples(), DeleteComments(), deleteDependencyRecordsFor(), deleteDependencyRecordsForClass(), DeleteInitPrivs(), deleteOneObject(), DeleteSecurityLabel(), DeleteSharedComments(), DeleteSharedSecurityLabel(), DeleteSystemAttributeTuples(), do_autovacuum(), drop_parent_dependency(), DropCastById(), DropConfigurationMapping(), dropDatabaseDependencies(), DropRole(), DropSetting(), DropTableSpace(), DropTransformById(), EnableDisableTrigger(), enum_endpoint(), enum_range_internal(), EnumValuesDelete(), ExecAlterExtensionStmt(), ExecGrant_Largeobject(), extension_config_remove(), find_composite_type_dependencies(), find_inheritance_children(), find_language_template(), find_typed_table_dependencies(), findDependentObjects(), gbt_num_consistent(), gbt_var_consistent(), get_catalog_object_by_oid(), get_constraint_index(), get_database_oid(), get_db_info(), get_domain_constraint_oid(), get_equality_op_for_ordering_op(), get_extension_name(), get_extension_oid(), get_extension_schema(), get_index_constraint(), get_mergejoin_opfamilies(), get_object_address_attrdef(), get_op_btree_interpretation(), get_ordering_op_for_equality_op(), get_partition_parent(), get_pkey_attnames(), get_primary_key_attnos(), get_qual_for_list(), get_qual_for_range(), get_relation_constraint_oid(), get_relation_policy_oid(), get_rels_with_domain(), get_tables_to_cluster(), get_tablespace_name(), get_tablespace_oid(), get_trigger_oid(), GetAllTablesPublicationRelations(), GetAllTablesPublications(), GetComment(), GetDatabaseTuple(), GetDatabaseTupleByOid(), GetDefaultOpClass(), getExtensionOfObject(), GetNewOidWithIndex(), getObjectDescription(), getObjectIdentityParts(), getOwnedSequences(), GetPublicationRelations(), getRelationsInNamespace(), GetSecurityLabel(), GetSharedSecurityLabel(), gin_btree_compare_prefix(), gin_btree_extract_query(), index_update_stats(), InitializeRelfilenodeMap(), inv_getsize(), inv_read(), inv_truncate(), inv_write(), isObjectPinned(), isSharedObjectPinned(), LargeObjectDrop(), LargeObjectExists(), load_domaintype_info(), load_enum_cache_data(), lookup_proof_cache(), lookup_ts_config_cache(), lookup_type_cache(), LookupOpclassInfo(), ltree_consistent(), make_pathkey_from_sortinfo(), make_unique_from_pathkeys(), makeConfigurationDependencies(), MakeConfigurationMapping(), MergeConstraintsIntoExisting(), mergejoinscansel(), MergeWithExistingConstraint(), MJExamineQuals(), movedb(), myLargeObjectExists(), objectsInSchemaToOids(), patternsel(), pg_extension_config_dump(), pg_extension_ownercheck(), pg_get_constraintdef_worker(), pg_get_serial_sequence(), pg_get_triggerdef_worker(), pg_largeobject_aclmask_snapshot(), pg_largeobject_ownercheck(), prefix_quals(), prefix_selectivity(), RangeDelete(), recordExtensionInitPrivWorker(), recordExtObjInitPriv(), regclassin(), regoperin(), regprocin(), regtypein(), ReindexMultipleTables(), relation_has_policies(), RelationBuildRowSecurity(), RelationBuildRuleLock(), RelationBuildTriggers(), RelationBuildTupleDesc(), RelationGetExclusionInfo(), RelationGetFKeyList(), RelationGetIndexList(), RelationRemoveInheritance(), RemoveAmOpEntryById(), RemoveAmProcEntryById(), RemoveAttrDefault(), RemoveAttrDefaultById(), RemoveCollationById(), RemoveConversionById(), RemoveDefaultACLById(), RemoveExtensionById(), RemoveInheritance(), RemovePolicyById(), RemoveRewriteRuleById(), RemoveRoleFromObjectACL(), RemoveRoleFromObjectPolicy(), RemoveStatistics(), RemoveTriggerById(), RemoveTSConfigurationById(), rename_policy(), RenameTableSpace(), renametrig(), replorigin_create(), ScanPgRelation(), select_equality_operator(), sepgsql_attribute_post_create(), sepgsql_database_post_create(), sepgsql_proc_post_create(), sepgsql_proc_setattr(), sepgsql_relation_post_create(), sepgsql_relation_setattr(), sepgsql_relation_setattr_extra(), sepgsql_schema_post_create(), sequenceIsOwned(), SetSecurityLabel(), SetSharedSecurityLabel(), shdepChangeDep(), shdepDropDependency(), shdepDropOwned(), shdepReassignOwned(), spg_text_inner_consistent(), spg_text_leaf_consistent(), toast_delete_datum(), toast_fetch_datum(), toast_fetch_datum_slice(), toastrel_valueid_exists(), and typeInheritsFrom().

#define BTMaxStrategyNumber   5
#define RTAdjacentStrategyNumber   17 /* for -|- */

Definition at line 60 of file stratnum.h.

Referenced by brin_inclusion_consistent().

#define RTContainsElemStrategyNumber   16 /* for range types @> elem */

Definition at line 59 of file stratnum.h.

Referenced by brin_inclusion_consistent().

#define RTEqualStrategyNumber   18 /* for = */

Definition at line 61 of file stratnum.h.

Referenced by brin_inclusion_consistent(), and inet_spg_consistent_bitmap().

#define RTGreaterEqualStrategyNumber   23 /* for >= */
#define RTGreaterStrategyNumber   22 /* for > */
#define RTKNNSearchStrategyNumber   15 /* for <-> (distance) */

Definition at line 58 of file stratnum.h.

#define RTLessEqualStrategyNumber   21 /* for <= */
#define RTLessStrategyNumber   20 /* for < */
#define RTMaxStrategyNumber   27

Definition at line 72 of file stratnum.h.

Referenced by inclusion_get_strategy_procinfo().

#define RTNotEqualStrategyNumber   19 /* for != */

Definition at line 62 of file stratnum.h.

Referenced by inet_spg_consistent_bitmap(), and inet_spg_inner_consistent().

#define RTOverAboveStrategyNumber   12 /* for |&> */
#define RTOverBelowStrategyNumber   9 /* for &<| */
#define RTSubEqualStrategyNumber   25 /* for inet <<= */

Definition at line 68 of file stratnum.h.

Referenced by brin_inclusion_consistent(), and inet_spg_consistent_bitmap().

#define RTSubStrategyNumber   24 /* for inet >> */

Definition at line 67 of file stratnum.h.

Referenced by brin_inclusion_consistent(), and inet_spg_consistent_bitmap().

#define RTSuperEqualStrategyNumber   27 /* for inet >>= */

Definition at line 70 of file stratnum.h.

Referenced by brin_inclusion_consistent(), and inet_spg_consistent_bitmap().

#define RTSuperStrategyNumber   26 /* for inet << */

Definition at line 69 of file stratnum.h.

Referenced by brin_inclusion_consistent(), and inet_spg_consistent_bitmap().

Typedef Documentation

Definition at line 22 of file stratnum.h.