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

Go to the source code of this file.

Data Structures

struct  xl_standby_lock
 

Macros

#define NoLock   0
 
#define AccessShareLock   1 /* SELECT */
 
#define RowShareLock   2 /* SELECT FOR UPDATE/FOR SHARE */
 
#define RowExclusiveLock   3 /* INSERT, UPDATE, DELETE */
 
#define ShareUpdateExclusiveLock
 
#define ShareLock   5 /* CREATE INDEX (WITHOUT CONCURRENTLY) */
 
#define ShareRowExclusiveLock
 
#define ExclusiveLock
 
#define AccessExclusiveLock
 

Typedefs

typedef int LOCKMASK
 
typedef int LOCKMODE
 
typedef struct xl_standby_lock xl_standby_lock
 

Macro Definition Documentation

#define AccessExclusiveLock
Value:
8 /* ALTER TABLE, DROP TABLE, VACUUM
* FULL, and unqualified LOCK TABLE */

Definition at line 46 of file lockdefs.h.

Referenced by AcquireDeletionLock(), AlterObjectNamespace_oid(), AlterPolicy(), AlterTableGetLockLevel(), AlterTableGetRelOptionsLockLevel(), AlterTableMoveAll(), AlterTableNamespace(), AlterTableNamespaceInternal(), AlterTypeOwner_oid(), ATExecAttachPartition(), ATExecDropConstraint(), BootstrapToastTable(), cluster(), cluster_rel(), copy_heap_data(), count_nondeletable_pages(), create_toast_table(), CreatePolicy(), CreateStatistics(), dbase_redo(), DefineQueryRewrite(), DefineRelation(), DefineRule(), DefineSequence(), DefineVirtualRelation(), do_autovacuum(), dropdb(), DropRole(), DropSubscription(), ExecAlterObjectDependsStmt(), ExecAlterObjectSchemaStmt(), ExecAlterOwnerStmt(), ExecRefreshMatView(), ExecRenameStmt(), ExecuteTruncate(), GetRunningTransactionLocks(), heap_drop_with_catalog(), heap_truncate(), heap_truncate_one_rel(), index_create(), index_drop(), intorel_startup(), lazy_truncate_heap(), lock_twophase_standby_recover(), LockAcquireExtended(), MergeAttributes(), movedb(), NewRelationCreateToastTable(), pg_truncate_visibility_map(), PreCommit_Notify(), RangeVarCallbackForDropRelation(), rebuild_relation(), reindex_index(), ReindexIndex(), RelationTruncateIndexes(), ReleaseDeletionLock(), RemoveAttrDefaultById(), RemoveAttributeById(), RemoveConstraintById(), RemoveObjects(), RemovePolicyById(), RemoveRelations(), RemoveRewriteRuleById(), RemoveRoleFromObjectPolicy(), RemoveStatisticsById(), RemoveTriggerById(), rename_constraint_internal(), rename_policy(), renameatt(), renameatt_internal(), RenameConstraint(), RenameDatabase(), RenameRelation(), RenameRelationInternal(), RenameRewriteRule(), renametrig(), ResolveRecoveryConflictWithLock(), shdepReassignOwned(), StandbyAcquireAccessExclusiveLock(), StandbyReleaseAllLocks(), StandbyReleaseLocks(), StandbyReleaseOldLocks(), swap_relation_files(), transformRuleStmt(), and vacuum_rel().

#define AccessShareLock   1 /* SELECT */

Definition at line 36 of file lockdefs.h.

Referenced by acquire_inherited_sample_rows(), AcquireExecutorLocks(), AcquireRewriteLocks(), addRangeTableEntry(), AfterTriggerSetState(), AlterDatabaseSet(), AlterDomainValidateConstraint(), AlterExtensionNamespace(), AlterSeqNamespaces(), AlterSequence(), AlterSubscription_refresh(), AlterTableMoveAll(), AssignTypeArrayOid(), ATExecAddIndexConstraint(), ATExecAddInherit(), ATExecAddOf(), ATExecAlterColumnGenericOptions(), ATExecAttachPartition(), ATExecDetachPartition(), ATExecDropInherit(), ATExecDropNotNull(), ATPrepChangePersistence(), AttrDefaultFetch(), brin_page_items(), bringetbitmap(), brinvacuumcleanup(), bt_index_check_internal(), bt_metap(), bt_page_items(), bt_page_stats(), build_row_from_class(), BuildEventTriggerCache(), calculate_indexes_size(), calculate_toast_table_size(), CatalogCacheInitializeCache(), change_owner_recurse_to_sequences(), check_db_file_conflict(), check_of_type(), check_selective_binary_conversion(), CheckAttributeType(), CheckConstraintFetch(), CheckIndexCompatible(), checkSharedDependencies(), ChooseConstraintName(), collect_corrupt_items(), collect_visibility_data(), ConstraintNameIsUsed(), createdb(), CreateSubscription(), CreateTrigger(), currtid_byrelname(), currtid_byreloid(), currtid_for_view(), database_to_xmlschema_internal(), dblink_build_sql_delete(), dblink_build_sql_insert(), dblink_build_sql_update(), dblink_get_pkey(), do_analyze_rel(), do_autovacuum(), DoCopy(), enum_endpoint(), enum_range_internal(), EventTriggerSQLDropAddObject(), exec_object_restorecon(), ExecAlterExtensionStmt(), ExecInitBitmapIndexScan(), ExecInitIndexOnlyScan(), ExecInitIndexScan(), ExecLockNonLeafAppendTables(), ExecOpenScanRelation(), ExecRefreshMatView(), expand_inherited_rtentry(), expandRelation(), find_composite_type_dependencies(), find_inheritance_children(), find_language_template(), find_typed_table_dependencies(), finish_heap_swap(), generate_partition_qual(), get_actual_variable_range(), get_constraint_index(), get_database_list(), get_database_oid(), get_db_info(), get_domain_constraint_oid(), get_extension_name(), get_extension_oid(), get_extension_schema(), get_file_fdw_attribute_options(), get_index_constraint(), get_object_address_attrdef(), get_object_address_publication_rel(), get_object_address_relobject(), get_partition_parent(), get_pkey_attnames(), get_primary_key_attnos(), get_raw_page_internal(), get_rel_oids(), get_relation_constraint_oid(), get_relation_info(), get_relation_policy_oid(), get_rels_with_domain(), get_subscription_list(), get_tables_to_cluster(), get_tablespace_name(), get_tablespace_oid(), get_trigger_oid(), GetAllTablesPublicationRelations(), GetAllTablesPublications(), GetComment(), getConstraintTypeDescription(), GetDatabaseTuple(), GetDatabaseTupleByOid(), GetDefaultOpClass(), getExtensionOfObject(), getObjectDescription(), getObjectIdentityParts(), getOwnedSequences(), GetPublicationRelations(), getRelationsInNamespace(), GetSecurityLabel(), GetSharedSecurityLabel(), GetSubscriptionNotReadyRelations(), GetSubscriptionRelations(), GetSubscriptionRelState(), gin_clean_pending_list(), gincostestimate(), GrantRole(), hash_bitmap_info(), heap_sync(), heap_truncate_find_FKs(), indexam_property(), InitCatCachePhase2(), InitPlan(), isQueryUsingTempRelation_walker(), LargeObjectExists(), load_critical_index(), load_domaintype_info(), load_enum_cache_data(), load_typcache_tupdesc(), LockTableAclCheck(), lookup_ts_config_cache(), LookupOpclassInfo(), make_viewdef(), makeArrayTypeName(), myLargeObjectExists(), objectsInSchemaToOids(), open_share_lock(), pg_event_trigger_ddl_commands(), pg_extension_ownercheck(), pg_freespace(), pg_get_constraintdef_worker(), pg_get_object_address(), pg_get_replica_identity_index(), pg_get_serial_sequence(), pg_get_triggerdef_worker(), pg_identify_object(), pg_indexes_size(), pg_largeobject_aclmask_snapshot(), pg_largeobject_ownercheck(), pg_prewarm(), pg_relation_size(), pg_relpages(), pg_relpages_v1_5(), pg_relpagesbyid(), pg_relpagesbyid_v1_5(), pg_table_size(), pg_total_relation_size(), pg_visibility(), pg_visibility_map(), pg_visibility_map_summary(), pgrowlocks(), pgstat_collect_oids(), pgstat_heap(), pgstat_index(), pgstatginindex_internal(), pgstathashindex(), pgstatindex(), pgstatindex_impl(), pgstatindex_v1_5(), pgstatindexbyid(), pgstatindexbyid_v1_5(), pgstattuple(), pgstattuple_approx_internal(), pgstattuple_v1_5(), pgstattuplebyid(), pgstattuplebyid_v1_5(), process_owned_by(), process_settings(), RangeVarGetAndCheckCreationNamespace(), regclassin(), regoperin(), regprocin(), regtypein(), ReindexMultipleTables(), relation_has_policies(), relation_is_updatable(), RelationBuildRowSecurity(), RelationBuildRuleLock(), RelationBuildTriggers(), RelationBuildTupleDesc(), RelationGetExclusionInfo(), RelationGetFKeyList(), RelationGetIndexAttrBitmap(), RelationGetIndexList(), RelationGetStatExtList(), RelationNameGetTupleDesc(), RelidByRelfilenode(), remove_dbtablespaces(), RemoveRoleFromObjectACL(), ScanPgRelation(), ScanQueryForLocks(), schema_to_xmlschema_internal(), SearchCatCache(), SearchCatCacheList(), sepgsql_attribute_post_create(), sepgsql_database_post_create(), sepgsql_index_modify(), sepgsql_proc_post_create(), sepgsql_proc_setattr(), sepgsql_relation_post_create(), sepgsql_relation_setattr(), sepgsql_schema_post_create(), sequenceIsOwned(), set_relation_column_names(), shdepLockAndCheckObject(), systable_beginscan(), systable_endscan(), table_to_xml_and_xmlschema(), table_to_xmlschema(), ThereIsAtLeastOneRole(), toast_fetch_datum(), toast_fetch_datum_slice(), toastid_valueid_exists(), transformIndexConstraint(), transformTableLikeClause(), typeInheritsFrom(), UpdateRangeTableOfViewParse(), vac_truncate_clog(), and vac_update_datfrozenxid().

#define NoLock   0

Definition at line 34 of file lockdefs.h.

Referenced by acquire_inherited_sample_rows(), AcquireRewriteLocks(), addRangeTableEntry(), AddRoleMems(), afterTriggerInvokeEvents(), AlterCollation(), AlterDatabase(), AlterDatabaseOwner(), AlterDomainDefault(), AlterDomainDropConstraint(), AlterDomainNotNull(), AlterFunction(), AlterObjectNamespace_oid(), AlterOperator(), AlterPolicy(), AlterRole(), AlterSeqNamespaces(), AlterSequence(), AlterSetting(), AlterTable(), AlterTableGetRelOptionsLockLevel(), AlterTableNamespace(), AlterTableSpaceOptions(), analyze_rel(), apply_handle_delete(), apply_handle_insert(), apply_handle_update(), ATAddCheckConstraint(), ATAddForeignKeyConstraint(), ATController(), ATExecAddColumn(), ATExecAddIndex(), ATExecAddIndexConstraint(), ATExecAddInherit(), ATExecAttachPartition(), ATExecChangeOwner(), ATExecDetachPartition(), ATExecDropColumn(), ATExecDropConstraint(), ATExecDropInherit(), ATExecReplicaIdentity(), ATExecSetRelOptions(), ATExecSetTableSpace(), ATExecValidateConstraint(), ATPostAlterTypeParse(), ATPrepAlterColumnType(), ATRewriteCatalogs(), ATRewriteTable(), ATRewriteTables(), ATSimpleRecursion(), ATTypedTableRecursion(), boot_openrel(), BootstrapToastTable(), build_indices(), build_physical_tlist(), change_owner_recurse_to_sequences(), check_index_is_clusterable(), check_of_type(), CheckAndCreateToastTable(), CheckIndexCompatible(), close_lo_relation(), closerel(), CloseTableList(), cluster(), CollationCreate(), CommentObject(), convert_table_name(), copy_heap_data(), copy_table(), CopyFrom(), CountDBSubscriptions(), create_toast_table(), CreateComments(), createdb(), CreatePolicy(), CreateRole(), CreateSharedComments(), CreateStatistics(), CreateTableSpace(), CreateTrigger(), currval_oid(), database_to_xmlschema_internal(), DefineCompositeType(), DefineIndex(), DefineQueryRewrite(), DefineRelation(), DefineSequence(), DefineVirtualRelation(), DelRoleMems(), deparseColumnRef(), deparseFromExprForRel(), deparseSelectSql(), do_analyze_rel(), do_setval(), DoCopy(), dropdb(), DropRole(), DropSubscription(), DropTableSpace(), EvalPlanQualEnd(), exec_object_restorecon(), ExecAlterExtensionContentsStmt(), ExecAlterObjectDependsStmt(), ExecCloseScanRelation(), ExecEndBitmapIndexScan(), ExecEndIndexOnlyScan(), ExecEndIndexScan(), ExecEndModifyTable(), ExecEndPlan(), ExecGetTriggerResultRel(), ExecInitBitmapIndexScan(), ExecInitIndexOnlyScan(), ExecInitIndexScan(), ExecInitModifyTable(), ExecOpenScanRelation(), ExecRefreshMatView(), ExecSecLabelStmt(), ExecSetupPartitionTupleRouting(), ExecuteTruncate(), expand_inherited_rtentry(), expand_targetlist(), find_inheritance_children(), finish_heap_swap(), fireRIRrules(), free_parsestate(), generate_partition_qual(), get_actual_variable_range(), get_db_info(), get_object_address(), get_rel_oids(), get_relation_constraints(), get_relation_data_width(), get_relation_info(), get_rels_with_domain(), get_row_security_policies(), GetLockStatusData(), GetSingleProcBlockerStatusData(), gettype(), GrantRole(), has_row_triggers(), heap_create_with_catalog(), heap_drop_with_catalog(), heap_truncate(), heap_truncate_one_rel(), index_close(), index_create(), index_drop(), infer_arbiter_indexes(), intorel_shutdown(), lastval(), lazy_vacuum_rel(), LockTableRecurse(), logicalrep_rel_open(), LogicalRepSyncTableStart(), LookupTypeName(), make_new_heap(), MergeAttributes(), movedb(), nextval(), nextval_internal(), objectNamesToOids(), open_share_lock(), OpenTableList(), owningrel_does_not_exist_skipping(), pg_blocking_pids(), pg_get_serial_sequence(), pg_get_viewdef_name(), pg_get_viewdef_name_ext(), pg_lock_status(), pg_sequence_last_value(), plpgsql_parse_cwordrowtype(), plpgsql_parse_cwordtype(), postgresPlanDirectModify(), postgresPlanForeignModify(), process_owned_by(), RangeVarGetAndCheckCreationNamespace(), RangeVarGetRelidExtended(), rebuild_relation(), refresh_by_match_merge(), regclassin(), reindex_index(), reindex_relation(), ReindexIndex(), relation_close(), relation_open(), relation_openrv(), relation_openrv_extended(), RelationBuildPartitionDesc(), RelationFindReplTupleByIndex(), RelationGetPartitionDispatchInfo(), RelationTruncateIndexes(), RemoveAttrDefaultById(), RemoveAttributeById(), RemoveConstraintById(), RemoveObjects(), RemovePolicyById(), RemoveRewriteRuleById(), RemoveRoleFromObjectPolicy(), RemoveStatisticsById(), RemoveTriggerById(), rename_constraint_internal(), rename_policy(), renameatt_internal(), RenameConstraint(), RenameDatabase(), RenameRelationInternal(), RenameRewriteRule(), RenameRole(), RenameSchema(), RenameTableSpace(), renametrig(), ResetSequence(), RewriteQuery(), rewriteTargetView(), row_security_active_name(), schema_to_xmlschema_internal(), searchRangeTableForRel(), sepgsql_dml_privileges(), SetSubscriptionRelState(), setTargetTable(), shdepReassignOwned(), table_to_xml_and_xmlschema(), table_to_xmlschema(), text_regclass(), to_regclass(), transformAlterTableStmt(), transformCreateStmt(), transformIndexConstraint(), transformIndexStmt(), transformRuleStmt(), transformTableLikeClause(), transientrel_shutdown(), transientrel_startup(), try_relation_open(), TryReuseIndex(), tuple_data_split_internal(), vac_open_indexes(), vacuum_rel(), validate_index(), and validateDomainConstraint().

#define RowExclusiveLock   3 /* INSERT, UPDATE, DELETE */

Definition at line 38 of file lockdefs.h.

Referenced by AcquireExecutorLocks(), AcquireRewriteLocks(), AddEnumLabel(), AddNewAttributeTuples(), AddRoleMems(), AggregateCreate(), AlterCollation(), AlterConstraintNamespaces(), AlterDatabase(), AlterDatabaseOwner(), AlterDomainAddConstraint(), AlterDomainDefault(), AlterDomainDropConstraint(), AlterDomainNotNull(), AlterDomainValidateConstraint(), AlterEventTrigger(), AlterEventTriggerOwner(), AlterEventTriggerOwner_oid(), AlterExtensionNamespace(), AlterForeignDataWrapper(), AlterForeignDataWrapperOwner(), AlterForeignDataWrapperOwner_oid(), AlterForeignServer(), AlterForeignServerOwner(), AlterForeignServerOwner_oid(), AlterFunction(), AlterObjectNamespace_oid(), AlterOperator(), AlterPolicy(), AlterPublication(), AlterPublicationOwner(), AlterPublicationOwner_oid(), AlterRole(), AlterSchemaOwner(), AlterSchemaOwner_oid(), AlterSequence(), AlterSetting(), AlterSubscription(), AlterSubscriptionOwner(), AlterSubscriptionOwner_oid(), AlterTableNamespaceInternal(), AlterTableSpaceOptions(), AlterTSConfiguration(), AlterTSDictionary(), AlterTypeNamespaceInternal(), AlterTypeOwner(), AlterTypeOwner_oid(), AlterTypeOwnerInternal(), AlterUserMapping(), AppendAttributeTuples(), apply_handle_delete(), apply_handle_insert(), apply_handle_update(), ApplyExtensionUpdates(), ATExecAddColumn(), ATExecAddOf(), ATExecAlterColumnGenericOptions(), ATExecAlterColumnType(), ATExecAlterConstraint(), ATExecChangeOwner(), ATExecDetachPartition(), ATExecDisableRowSecurity(), ATExecDropColumn(), ATExecDropConstraint(), ATExecDropNotNull(), ATExecDropOf(), ATExecEnableRowSecurity(), ATExecForceNoForceRowSecurity(), ATExecGenericOptions(), ATExecSetNotNull(), ATExecSetOptions(), ATExecSetRelOptions(), ATExecSetStatistics(), ATExecSetStorage(), ATExecSetTableSpace(), ATExecValidateConstraint(), BuildRelationExtStatistics(), change_owner_fix_column_acls(), changeDependencyFor(), changeDependencyOnOwner(), ConversionCreate(), copyTemplateDependencies(), CountDBSubscriptions(), create_proc_lang(), create_toast_table(), CreateAccessMethod(), CreateCast(), CreateComments(), CreateConstraintEntry(), createdb(), CreateForeignDataWrapper(), CreateForeignServer(), CreateForeignTable(), CreateInheritance(), CreateOpFamily(), CreatePolicy(), CreatePublication(), CreateRole(), CreateSharedComments(), CreateStatistics(), CreateSubscription(), CreateTableSpace(), CreateTransform(), CreateTrigger(), CreateUserMapping(), DefineIndex(), DefineOpClass(), DefineQueryRewrite(), DefineSequence(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), DeleteAttributeTuples(), DeleteComments(), deleteDependencyRecordsFor(), deleteDependencyRecordsForClass(), DeleteInitPrivs(), deleteOneObject(), DeleteRelationTuple(), DeleteSecurityLabel(), DeleteSequenceTuple(), DeleteSharedComments(), deleteSharedDependencyRecordsFor(), DeleteSharedSecurityLabel(), DeleteSystemAttributeTuples(), DelRoleMems(), DoCopy(), drop_parent_dependency(), DropCastById(), dropDatabaseDependencies(), dropdb(), DropProceduralLanguageById(), DropRole(), DropSetting(), DropTableSpace(), DropTransformById(), EnableDisableRule(), EnableDisableTrigger(), EnumValuesCreate(), EnumValuesDelete(), ExecAlterObjectSchemaStmt(), ExecAlterOwnerStmt(), ExecCloseIndices(), ExecGrant_Database(), ExecGrant_Fdw(), ExecGrant_ForeignServer(), ExecGrant_Function(), ExecGrant_Language(), ExecGrant_Largeobject(), ExecGrant_Namespace(), ExecGrant_Relation(), ExecGrant_Tablespace(), ExecGrant_Type(), ExecOpenIndices(), ExecRenameStmt(), ExecSetupPartitionTupleRouting(), expand_inherited_rtentry(), extension_config_remove(), finish_heap_swap(), get_relation_info(), heap_create_with_catalog(), heap_drop_with_catalog(), index_build(), index_constraint_create(), index_create(), index_drop(), index_set_state_flags(), index_update_stats(), infer_arbiter_indexes(), InitPlan(), InitPostgres(), insert_event_trigger_tuple(), InsertExtensionTuple(), InsertRule(), LargeObjectCreate(), LargeObjectDrop(), lazy_vacuum_rel(), LockAcquireExtended(), LockTableAclCheck(), LockTableCommand(), LogicalRepSyncTableStart(), mark_index_clustered(), MergeAttributesIntoExisting(), MergeConstraintsIntoExisting(), MergeWithExistingConstraint(), movedb(), NamespaceCreate(), open_lo_relation(), OperatorCreate(), OperatorShellMake(), OperatorUpd(), performDeletion(), performMultipleDeletions(), pg_extension_config_dump(), pg_replication_origin_advance(), ProcedureCreate(), publication_add_relation(), RangeCreate(), RangeDelete(), recordExtensionInitPrivWorker(), recordExtObjInitPriv(), recordMultipleDependencies(), recordSharedDependencyOn(), refresh_by_match_merge(), reindex_index(), relation_mark_replica_identity(), RelationFindReplTupleByIndex(), RelationRemoveInheritance(), RelationSetNewRelfilenode(), RemoveAccessMethodById(), RemoveAmOpEntryById(), RemoveAmProcEntryById(), RemoveAttrDefault(), RemoveAttrDefaultById(), RemoveAttributeById(), RemoveCollationById(), RemoveConstraintById(), RemoveConversionById(), RemoveDefaultACLById(), RemoveEventTriggerById(), RemoveExtensionById(), RemoveForeignDataWrapperById(), RemoveForeignServerById(), RemoveFunctionById(), RemoveInheritance(), RemoveOpClassById(), RemoveOperatorById(), RemoveOpFamilyById(), RemovePartitionKeyByRelId(), RemovePolicyById(), RemovePublicationById(), RemovePublicationRelById(), RemoveRewriteRuleById(), RemoveRoleFromObjectPolicy(), RemoveSchemaById(), RemoveStatistics(), RemoveStatisticsById(), RemoveStatisticsExt(), RemoveTriggerById(), RemoveTSConfigurationById(), RemoveTSDictionaryById(), RemoveTSParserById(), RemoveTSTemplateById(), RemoveTypeById(), RemoveUserMappingById(), rename_policy(), renameatt_internal(), RenameConstraint(), RenameConstraintById(), RenameDatabase(), RenameEnumLabel(), RenameRelationInternal(), RenameRewriteRule(), RenameRole(), RenameSchema(), RenameTableSpace(), renametrig(), RenameType(), RenameTypeInternal(), rewriteTargetView(), RI_FKey_cascade_del(), RI_FKey_cascade_upd(), RI_FKey_setdefault_del(), RI_FKey_setdefault_upd(), RI_FKey_setnull_del(), RI_FKey_setnull_upd(), ScanQueryForLocks(), SetDefaultACL(), SetFunctionArgType(), SetFunctionReturnType(), SetMatViewPopulatedState(), SetRelationHasSubclass(), SetRelationNumChecks(), SetRelationRuleStatus(), SetSecurityLabel(), SetSharedSecurityLabel(), setTargetTable(), shdepDropOwned(), shdepReassignOwned(), StoreAttrDefault(), StoreCatalogInheritance(), storeOperators(), StorePartitionBound(), StorePartitionKey(), storeProcedures(), swap_relation_files(), toast_delete_datum(), toast_save_datum(), toastrel_valueid_exists(), TypeCreate(), TypeShellMake(), unique_key_recheck(), update_attstats(), updateAclDependencies(), UpdateIndexRelation(), vac_update_datfrozenxid(), vac_update_relstats(), and validate_index().

#define ShareRowExclusiveLock
Value:
6 /* like EXCLUSIVE MODE, but allows ROW
* SHARE */

Definition at line 42 of file lockdefs.h.

Referenced by AlterTableGetLockLevel(), ATAddForeignKeyConstraint(), CollationCreate(), CreateTrigger(), RemoveSubscriptionRel(), and SetSubscriptionRelState().

Typedef Documentation

Definition at line 25 of file lockdefs.h.

Definition at line 26 of file lockdefs.h.