Native PostgreSQL Schema Script: postgres.sql

Last modified 13 Jul 2026 09:30 UTC

This page documents schema objects parsed from config/sql/native/postgres.sql. The detailed documentation is split into logical region pages because this schema script is large.

Naming conventions:

  • M_ prefix is used for tables in main part of the repo, MA_ for audit tables (can be separate) Constraints/indexes use table_column(s)_suffix convention, with PK for primary key, FK foreign key, IDX for index, KEY for unique index. TR is suffix for triggers.

  • Names are generally lowercase (despite prefix/suffixes above in uppercase ;-)).

  • Column names are Java style and match attribute names from M-classes (e.g. MObject).

Other notes:

  • TEXT is used instead of VARCHAR, see: DBA stackexchange We prefer CREATE UNIQUE INDEX to ALTER TABLE …​ ADD CONSTRAINT, unless the column is marked as UNIQUE directly - then the index is implied, don’t create it explicitly.

  • For Audit tables see postgres-audit.sql right next to this file. For Quartz tables see postgres-quartz.sql.

  • Public schema is not used as of now, everything is in the current user schema. See secure schema usage pattern in PostgreSQL documentation.

  • Just in case CURRENT_USER schema was dropped (fastest way to remove all midpoint objects)

    drop schema current_user cascade;

Region documentation

  • Infrastructure - Schema, extensions, enum types, shared identifiers, repository metadata, and support routines.

  • References - Tables storing object and container references such as archetype, projection, role membership, and approver references.

  • Focus and users - Focus base data, users, generic objects, focus identities, and focus-related references.

  • Roles and services - Abstract roles, roles, services, archetypes, policies, applications, and related object tables.

  • Organization - Organization objects, parent organization references, and organization hierarchy closure support.

  • Resources and shadows - Resources, shadows, shadow partitions, connectors, and resource object reference data.

  • System objects - Node, system configuration, security policy, and other system-level repository objects.

  • Reports and dashboards - Reports, report data, dashboards, object collections, forms, function libraries, and related UI/reporting objects.

  • Role analysis - Role analysis sessions, clusters, outliers, detected patterns, and related containers.

  • Lookup tables - Lookup table objects and their key-value row data.

  • Cases and certification - Case management, access certification campaigns, certification cases, work items, and reviewer references.

  • Templates and messages - Object templates, include references, sequences, forms, function libraries, and message templates.

  • Assignments - Assignment and inducement containers, assignment metadata, and assignment reference tables.

  • Tasks - Task objects, task containers, affected objects, triggers, and operation execution data.

  • Simulations - Simulation result objects, processed simulation objects, and simulation event mark references.

  • Marks - Mark objects used to classify and annotate repository objects and events.

  • Schema objects - Schema repository objects.

  • Extension items - Extension item catalog and indexed extension value storage support.

  • Schema versioning - Procedures and metadata used to track and apply native repository schema changes.

Overview

Tables

Table Region Description

m_abstract_role

Roles and services

Abstract base table for role-like focus objects that can be assigned or requested.

m_access_cert_campaign

Cases and certification

Stores access certification campaign objects.

m_access_cert_case

Cases and certification

Stores access certification cases inside certification campaigns.

m_access_cert_definition

Cases and certification

Stores access certification definition objects.

m_access_cert_wi

Cases and certification

Stores work items for access certification cases.

m_access_cert_wi_assignee

Cases and certification

Stores assignee references for access certification work items.

m_access_cert_wi_candidate

Cases and certification

Stores candidate references for access certification work items.

m_application

Roles and services

Stores application objects used to model applications and application access.

m_archetype

Roles and services

Stores archetype objects used to classify and constrain other objects.

m_assignment

Assignments

Stores assignment and inducement containers for assignment-holding objects.

m_assignment_holder

Infrastructure

Abstract base table for assignment-holding objects, excluding shadows.

Represents AssignmentHolderType (all objects except shadows) extending m_object, but still abstract, hence the CHECK (false).

No indexes here, always add indexes and referential constraints on concrete sub-tables.

m_assignment_metadata

Assignments

Stores value metadata for assignments and inducements.

m_assignment_ref_create_approver

Assignments

Stores create-approver references from assignment metadata.

m_assignment_ref_modify_approver

Assignments

Stores modify-approver references from assignment metadata.

m_case

Cases and certification

Stores case objects used for approvals, manual actions, and other case-management workflows.

m_case_wi

Cases and certification

Stores case work items assigned to users or groups.

m_case_wi_assignee

Cases and certification

Stores assignee references for case work items.

m_case_wi_candidate

Cases and certification

Stores candidate references for case work items.

m_connector

Lookup tables

Stores connector definitions discovered or configured in midPoint.

m_connector_development

Lookup tables

Stores connector development objects.

m_connector_host

Lookup tables

Stores remote connector host definitions.

Represents ConnectorHostType, see https://docs.evolveum.com/connectors/connid/1.x/connector-server/

m_container

Infrastructure

Abstract base table for separately persisted container values.

Purely abstract table (no entries are allowed). Represents Containerable/PrismContainerValue. Allows querying all separately persisted containers, but not necessary for the application.

m_dashboard

Reports and dashboards

Stores dashboard objects used by the administrative user interface.

m_ext_item

Extension items

Catalog of extension and attribute items indexed in JSON extension storage.

m_focus

Focus and users

Abstract base table for focus objects such as users, roles, services, and organizations.

m_focus_identity

Focus and users

Stores focus identity values used by correlation and identity matching.

m_form

Templates and messages

Stores custom form definitions.

m_function_library

Templates and messages

Stores function library objects used by expressions.

m_generic_object

Focus and users

Stores generic objects that do not have a dedicated concrete repository table.

m_lookup_table

Lookup tables

Stores lookup table objects used for reusable key-value mappings.

m_lookup_table_row

Lookup tables

Stores rows of lookup table key-value data.

Lookup table row currently doesn’t store whole polystring data for label property, only the original and normalized string values are stored.

m_mark

Marks

Stores mark objects used to classify and annotate repository objects and events.

m_message_template

Templates and messages

Stores reusable message templates for notifications and message transport.

m_node

System objects

Stores midPoint cluster node objects.

m_object

Infrastructure

Abstract base table containing common fields inherited by all repository object tables.

m_object_collection

Reports and dashboards

Stores object collection definitions used by views, dashboards, and searches.

m_object_oid

Infrastructure

Provides generated object identifiers shared by all concrete object tables.

m_object_template

Templates and messages

Stores object template definitions.

m_operation_execution

Tasks

Stores operation execution records attached to objects.

m_org

Organization

Stores organization objects and hierarchy-related organization attributes.

Represents OrgType, see https://docs.evolveum.com/midpoint/architecture/archive/data-model/midpoint-common-schema/orgtype/

m_policy

Roles and services

Stores policy objects that define reusable policy behavior.

m_processed_object_event_mark

Simulations

Stores event mark references for processed simulation objects.

m_processed_object_event_mark_default

Simulations

Default partition for processed object event mark references.

m_ref_archetype

References

Stores archetype references assigned to assignment-holder objects.

m_ref_assignment_effective_mark

Assignments

Stores effective mark references attached to assignments.

m_ref_delegated

References

Stores delegated references for assignment-holder objects.

m_ref_include

Templates and messages

Stores include references between object templates.

m_ref_object_create_approver

References

Stores create-approver references from object metadata.

m_ref_object_effective_mark

References

Stores effective mark references attached to objects.

m_ref_object_modify_approver

References

Stores modify-approver references from object metadata.

m_ref_object_parent_org

Organization

Stores parent organization references that define the organization hierarchy.

m_ref_persona

Focus and users

Stores persona references for focus objects.

m_ref_projection

Focus and users

Stores projection references from focus objects to resource object shadows.

m_ref_resource_business_configuration_approver

Resources and shadows

Stores approver references for resource business configuration.

m_ref_role_membership

References

Stores computed role membership references for assignment-holder objects.

m_ref_task_affected_object

Tasks

Stores target references for task affected object entries.

m_reference

Infrastructure

Abstract base table for object and container references.

m_report

Reports and dashboards

Stores report definitions.

m_report_data

Reports and dashboards

Stores report output data objects and their relation to report definitions.

m_resource

Resources and shadows

Stores resource objects and resource-specific searchable state.

Represents ResourceType, see https://docs.evolveum.com/midpoint/reference/resources/resource-configuration/

m_role

Roles and services

Stores role objects used to model access, business roles, and technical roles.

m_role_analysis_cluster

Role analysis

Stores role analysis cluster objects and their parent cluster references.

m_role_analysis_cluster_detected_pattern

Role analysis

Stores detected role analysis patterns inside a role analysis cluster.

m_role_analysis_outlier

Role analysis

Stores role analysis outlier objects and references to analyzed target objects.

m_role_analysis_outlier_partition

Role analysis

Stores partition data for role analysis outliers.

m_role_analysis_session

Role analysis

Stores role analysis session objects.

m_schema

Schema objects

Stores schema objects.

m_security_policy

System objects

Stores security policy objects.

m_sequence

Templates and messages

Stores sequence objects used for generated values.

m_service

Roles and services

Stores service objects, including service accounts and application services.

Represents ServiceType, see https://docs.evolveum.com/midpoint/reference/deployment/service-account-management/

m_shadow

Resources and shadows

Stores resource object shadows and their searchable synchronization state.

Represents ShadowType, see https://docs.evolveum.com/midpoint/reference/resources/shadow/ and also https://docs.evolveum.com/midpoint/reference/schema/focus-and-projections/

m_shadow_default

Resources and shadows

Default shadow partition used before resource-specific shadow partitions are created.

m_shadow_partition_def

Resources and shadows

Stores definitions of shadow partition tables managed by repository-side partition triggers.

m_shadow_ref_attribute

Resources and shadows

Stores reference-valued shadow attributes for searching and reverse lookup.

m_simulation_result

Simulations

Stores simulation result objects.

m_simulation_result_processed_object

Simulations

Stores objects processed by simulations and their before/after state.

m_simulation_result_processed_object_default

Simulations

Default partition for simulation processed objects.

m_system_configuration

System objects

Stores the system configuration object.

m_task

Tasks

Stores persistent task objects managed by the task manager.

Represents persistent TaskType, see https://docs.evolveum.com/midpoint/reference/tasks/task-manager/

m_task_affected_objects

Tasks

Stores affected object information for task activity reporting and indexing.

m_trigger

Tasks

Stores trigger containers attached to objects.

m_uri

Infrastructure

Stores frequently used URI values, such as channels and relation QNames, as compact numeric identifiers.

Catalog of often used URIs, typically channels and relation Q-names. Never update values of "uri" manually to change URI for some objects (unless you really want to migrate old URI to a new one). URI can be anything, for QNames the format is based on QNameUtil ("prefix-url#localPart").

m_user

Focus and users

Stores user objects and user-specific searchable attributes.

m_value_policy

Reports and dashboards

Stores value policy objects, such as password and value generation policies.

Views

View Region Description Type

m_object_view

Resources and shadows

Presents regular objects and shadows through a common object-shaped query surface.

view

m_org_closure

Organization

Materialized transitive closure of organization parent-child relationships.

Trigger on m_ref_object_parent_org marks this view for refresh in one m_global_metadata row. Closure contains also identity (org = org) entries because:

* It’s easier to do optimized matrix-multiplication based refresh with them later. * It actually makes some query easier and requires AND instead of OR conditions. * While the table shows that o ⇒ o (⇒ means "is parent of"), this is not the semantics of isParent/ChildOf searches and they never return parameter OID as a result.

materialized view

Other schema objects

Object Region Description Type

AccessCertificationCampaignStateType

Infrastructure

Stores access certification campaign states used by certification campaign tables.

enum type

ActivationStatusType

Infrastructure

Stores activation administrative status values used by focus, assignment, and resource data.

enum type

AdministrativeAvailabilityStatusType

Infrastructure

Stores administrative availability values used by resource search data.

enum type

AvailabilityStatusType

Infrastructure

Stores availability status values used for operational resource and connector state.

enum type

ContainerType

Infrastructure

Identifies separately stored container table categories in the native repository.

enum type

CorrelationSituationType

Infrastructure

Stores correlation situation values used by shadow identity matching.

enum type

ExecutionModeType

Infrastructure

Stores execution mode values used by tasks, simulations, and repository-side reporting.

enum type

ExtItemCardinality

Infrastructure

Identifies whether an indexed extension item stores a single value or an array of values.

enum type

ExtItemHolderType

Infrastructure

Identifies whether an extension item belongs to object extension data or resource attributes.

enum type

LockoutStatusType

Infrastructure

Stores lockout status values used by focus activation data.

enum type

NodeOperationalStateType

Infrastructure

Stores node operational state values used by node repository objects.

enum type

ObjectProcessingStateType

Simulations

Stores processing state values for simulation processed objects.

enum type

ObjectType

Infrastructure

Identifies midPoint object kinds stored in native repository object tables.

enum type

OperationExecutionRecordTypeType

Infrastructure

Stores operation execution record type values used by operation execution containers.

enum type

OperationResultStatusType

Infrastructure

Stores operation result status values used by tasks, operation executions, and audit-related data.

enum type

OrientationType

Infrastructure

Stores orientation values for report output and presentation metadata.

enum type

PredefinedConfigurationType

Infrastructure

Stores predefined configuration profile values.

enum type

ReferenceType

Infrastructure

Identifies reference table categories used for object and container references.

enum type

ResourceAdministrativeStateType

Infrastructure

Stores administrative state values used by resource objects.

enum type

ShadowKindType

Infrastructure

Stores shadow kind values used to classify resource object shadows.

enum type

SynchronizationSituationType

Infrastructure

Stores synchronization situation values used by shadow lifecycle and synchronization processing.

enum type

TaskAutoScalingModeType

Infrastructure

Stores task auto-scaling mode values.

enum type

TaskBindingType

Infrastructure

Stores task binding values describing whether task execution is tied to a specific node.

enum type

TaskExecutionStateType

Infrastructure

Stores task execution state values.

enum type

TaskRecurrenceType

Infrastructure

Stores task recurrence values for single-run and recurring tasks.

enum type

TaskSchedulingStateType

Infrastructure

Stores task scheduling state values.

enum type

TaskWaitingReasonType

Infrastructure

Stores task waiting reason values.

enum type

ThreadStopActionType

Infrastructure

Stores task thread stop action values.

enum type

TimeIntervalStatusType

Infrastructure

Stores time interval status values.

enum type

before_update_object

Infrastructure

Prevents object OID changes and updates database-managed modification metadata.

function

delete_object_oid

Infrastructure

Releases the shared OID row after a concrete object row is deleted.

function

insert_object_oid

Infrastructure

Assigns a new OID to inserted object rows or reserves an explicitly provided OID.

function

m_shadow_create_partition

Resources and shadows

Creates or attaches resource-specific shadow partitions when partition definitions are inserted.

function

m_shadow_delete_partition

Resources and shadows

Drops a shadow partition table when its partition definition is deleted.

function

m_shadow_update_partition

Resources and shadows

Attaches shadow partition tables when their partition definition is updated.

function

m_simulation_result_create_partition

Simulations

Creates a processed-object partition for a simulation result when partitioning is enabled.

function

m_simulation_result_delete_partition

Simulations

Drops the processed-object partition when a partitioned simulation result is deleted.

function

mark_org_closure_for_refresh

Organization

Marks organization closure data for refresh when parent organization references change.

function

mark_org_closure_for_refresh_org

Organization

Marks organization closure data for refresh when organization rows are inserted or deleted.

function

apply_change

Schema versioning

Applies numbered main repository schema changes exactly once per database instance.

procedure

m_refresh_org_closure

Organization

Refreshes the organization closure materialized view when a refresh is needed or explicitly forced.

procedure

m_access_cert_campaign_oid_delete_tr

Cases and certification

Removes the object OID registry entry when rows are deleted from m_access_cert_campaign.

trigger

m_access_cert_campaign_oid_insert_tr

Cases and certification

Maintains the object OID registry when rows are inserted into m_access_cert_campaign.

trigger

m_access_cert_campaign_update_tr

Cases and certification

Maintains object update metadata before rows are updated in m_access_cert_campaign.

trigger

m_access_cert_definition_oid_delete_tr

Cases and certification

Removes the object OID registry entry when rows are deleted from m_access_cert_definition.

trigger

m_access_cert_definition_oid_insert_tr

Cases and certification

Maintains the object OID registry when rows are inserted into m_access_cert_definition.

trigger

m_access_cert_definition_update_tr

Cases and certification

Maintains object update metadata before rows are updated in m_access_cert_definition.

trigger

m_application_oid_delete_tr

Roles and services

Removes the object OID registry entry when rows are deleted from m_application.

trigger

m_application_oid_insert_tr

Roles and services

Maintains the object OID registry when rows are inserted into m_application.

trigger

m_application_update_tr

Roles and services

Maintains object update metadata before rows are updated in m_application.

trigger

m_archetype_oid_delete_tr

Roles and services

Removes the object OID registry entry when rows are deleted from m_archetype.

trigger

m_archetype_oid_insert_tr

Roles and services

Maintains the object OID registry when rows are inserted into m_archetype.

trigger

m_archetype_update_tr

Roles and services

Maintains object update metadata before rows are updated in m_archetype.

trigger

m_case_oid_delete_tr

Cases and certification

Removes the object OID registry entry when rows are deleted from m_case.

trigger

m_case_oid_insert_tr

Cases and certification

Maintains the object OID registry when rows are inserted into m_case.

trigger

m_case_update_tr

Cases and certification

Maintains object update metadata before rows are updated in m_case.

trigger

m_connector_development_oid_delete_tr

Lookup tables

Removes the object OID registry entry when rows are deleted from m_connector_development.

trigger

m_connector_development_oid_insert_tr

Lookup tables

Maintains the object OID registry when rows are inserted into m_connector_development.

trigger

m_connector_development_update_tr

Lookup tables

Maintains object update metadata before rows are updated in m_connector_development.

trigger

m_connector_host_oid_delete_tr

Lookup tables

Removes the object OID registry entry when rows are deleted from m_connector_host.

trigger

m_connector_host_oid_insert_tr

Lookup tables

Maintains the object OID registry when rows are inserted into m_connector_host.

trigger

m_connector_host_update_tr

Lookup tables

Maintains object update metadata before rows are updated in m_connector_host.

trigger

m_connector_oid_delete_tr

Lookup tables

Removes the object OID registry entry when rows are deleted from m_connector.

trigger

m_connector_oid_insert_tr

Lookup tables

Maintains the object OID registry when rows are inserted into m_connector.

trigger

m_connector_update_tr

Lookup tables

Maintains object update metadata before rows are updated in m_connector.

trigger

m_dashboard_oid_delete_tr

Reports and dashboards

Removes the object OID registry entry when rows are deleted from m_dashboard.

trigger

m_dashboard_oid_insert_tr

Reports and dashboards

Maintains the object OID registry when rows are inserted into m_dashboard.

trigger

m_dashboard_update_tr

Reports and dashboards

Maintains object update metadata before rows are updated in m_dashboard.

trigger

m_form_oid_delete_tr

Templates and messages

Removes the object OID registry entry when rows are deleted from m_form.

trigger

m_form_oid_insert_tr

Templates and messages

Maintains the object OID registry when rows are inserted into m_form.

trigger

m_form_update_tr

Templates and messages

Maintains object update metadata before rows are updated in m_form.

trigger

m_function_library_oid_delete_tr

Templates and messages

Removes the object OID registry entry when rows are deleted from m_function_library.

trigger

m_function_library_oid_insert_tr

Templates and messages

Maintains the object OID registry when rows are inserted into m_function_library.

trigger

m_function_library_update_tr

Templates and messages

Maintains object update metadata before rows are updated in m_function_library.

trigger

m_generic_object_oid_delete_tr

Focus and users

Removes the object OID registry entry when rows are deleted from m_generic_object.

trigger

m_generic_object_oid_insert_tr

Focus and users

Maintains the object OID registry when rows are inserted into m_generic_object.

trigger

m_generic_object_update_tr

Focus and users

Maintains object update metadata before rows are updated in m_generic_object.

trigger

m_lookup_table_oid_delete_tr

Lookup tables

Removes the object OID registry entry when rows are deleted from m_lookup_table.

trigger

m_lookup_table_oid_insert_tr

Lookup tables

Maintains the object OID registry when rows are inserted into m_lookup_table.

trigger

m_lookup_table_update_tr

Lookup tables

Maintains object update metadata before rows are updated in m_lookup_table.

trigger

m_mark_oid_delete_tr

Marks

Removes the object OID registry entry when rows are deleted from m_mark.

trigger

m_mark_oid_insert_tr

Marks

Maintains the object OID registry when rows are inserted into m_mark.

trigger

m_mark_update_tr

Marks

Maintains object update metadata before rows are updated in m_mark.

trigger

m_message_template_oid_delete_tr

Templates and messages

Removes the object OID registry entry when rows are deleted from m_message_template.

trigger

m_message_template_oid_insert_tr

Templates and messages

Maintains the object OID registry when rows are inserted into m_message_template.

trigger

m_message_template_update_tr

Templates and messages

Maintains object update metadata before rows are updated in m_message_template.

trigger

m_node_oid_delete_tr

System objects

Removes the object OID registry entry when rows are deleted from m_node.

trigger

m_node_oid_insert_tr

System objects

Maintains the object OID registry when rows are inserted into m_node.

trigger

m_node_update_tr

System objects

Maintains object update metadata before rows are updated in m_node.

trigger

m_object_collection_oid_delete_tr

Reports and dashboards

Removes the object OID registry entry when rows are deleted from m_object_collection.

trigger

m_object_collection_oid_insert_tr

Reports and dashboards

Maintains the object OID registry when rows are inserted into m_object_collection.

trigger

m_object_collection_update_tr

Reports and dashboards

Maintains object update metadata before rows are updated in m_object_collection.

trigger

m_object_template_oid_delete_tr

Templates and messages

Removes the object OID registry entry when rows are deleted from m_object_template.

trigger

m_object_template_oid_insert_tr

Templates and messages

Maintains the object OID registry when rows are inserted into m_object_template.

trigger

m_object_template_update_tr

Templates and messages

Maintains object update metadata before rows are updated in m_object_template.

trigger

m_org_mark_refresh_tr

Organization

Marks organization closure data for refresh after organization rows are inserted or deleted.

trigger

m_org_mark_refresh_trunc_tr

Organization

Marks organization closure data for refresh after organization rows are truncated.

trigger

m_org_oid_delete_tr

Organization

Removes the object OID registry entry when rows are deleted from m_org.

trigger

m_org_oid_insert_tr

Organization

Maintains the object OID registry when rows are inserted into m_org.

trigger

m_org_update_tr

Organization

Maintains object update metadata before rows are updated in m_org.

trigger

m_policy_oid_delete_tr

Roles and services

Removes the object OID registry entry when rows are deleted from m_policy.

trigger

m_policy_oid_insert_tr

Roles and services

Maintains the object OID registry when rows are inserted into m_policy.

trigger

m_policy_update_tr

Roles and services

Maintains object update metadata before rows are updated in m_policy.

trigger

m_ref_object_parent_mark_refresh_tr

Organization

Marks organization closure data for refresh after parent organization reference row changes.

trigger

m_ref_object_parent_mark_refresh_trunc_tr

Organization

Marks organization closure data for refresh after parent organization references are truncated.

trigger

m_report_data_oid_delete_tr

Reports and dashboards

Removes the object OID registry entry when rows are deleted from m_report_data.

trigger

m_report_data_oid_insert_tr

Reports and dashboards

Maintains the object OID registry when rows are inserted into m_report_data.

trigger

m_report_data_update_tr

Reports and dashboards

Maintains object update metadata before rows are updated in m_report_data.

trigger

m_report_oid_delete_tr

Reports and dashboards

Removes the object OID registry entry when rows are deleted from m_report.

trigger

m_report_oid_insert_tr

Reports and dashboards

Maintains the object OID registry when rows are inserted into m_report.

trigger

m_report_update_tr

Reports and dashboards

Maintains object update metadata before rows are updated in m_report.

trigger

m_resource_oid_delete_tr

Resources and shadows

Removes the object OID registry entry when rows are deleted from m_resource.

trigger

m_resource_oid_insert_tr

Resources and shadows

Maintains the object OID registry when rows are inserted into m_resource.

trigger

m_resource_update_tr

Resources and shadows

Maintains object update metadata before rows are updated in m_resource.

trigger

m_role_analysis_cluster_oid_delete_tr

Role analysis

Removes the object OID registry entry when rows are deleted from m_role_analysis_cluster.

trigger

m_role_analysis_cluster_oid_insert_tr

Role analysis

Maintains the object OID registry when rows are inserted into m_role_analysis_cluster.

trigger

m_role_analysis_cluster_update_tr

Role analysis

Maintains object update metadata before rows are updated in m_role_analysis_cluster.

trigger

m_role_analysis_outlier_oid_delete_tr

Role analysis

Removes the object OID registry entry when rows are deleted from m_role_analysis_outlier.

trigger

m_role_analysis_outlier_oid_insert_tr

Role analysis

Maintains the object OID registry when rows are inserted into m_role_analysis_outlier.

trigger

m_role_analysis_outlier_update_tr

Role analysis

Maintains object update metadata before rows are updated in m_role_analysis_outlier.

trigger

m_role_analysis_session_oid_delete_tr

Role analysis

Removes the object OID registry entry when rows are deleted from m_role_analysis_session.

trigger

m_role_analysis_session_oid_insert_tr

Role analysis

Maintains the object OID registry when rows are inserted into m_role_analysis_session.

trigger

m_role_analysis_session_update_tr

Role analysis

Maintains object update metadata before rows are updated in m_role_analysis_session.

trigger

m_role_oid_delete_tr

Roles and services

Removes the object OID registry entry when rows are deleted from m_role.

trigger

m_role_oid_insert_tr

Roles and services

Maintains the object OID registry when rows are inserted into m_role.

trigger

m_role_update_tr

Roles and services

Maintains object update metadata before rows are updated in m_role.

trigger

m_schema_oid_delete_tr

Schema objects

Removes the object OID registry entry when rows are deleted from m_schema.

trigger

m_schema_oid_insert_tr

Schema objects

Maintains the object OID registry when rows are inserted into m_schema.

trigger

m_schema_update_tr

Schema objects

Maintains object update metadata before rows are updated in m_schema.

trigger

m_security_policy_oid_delete_tr

System objects

Removes the object OID registry entry when rows are deleted from m_security_policy.

trigger

m_security_policy_oid_insert_tr

System objects

Maintains the object OID registry when rows are inserted into m_security_policy.

trigger

m_security_policy_update_tr

System objects

Maintains object update metadata before rows are updated in m_security_policy.

trigger

m_sequence_oid_delete_tr

Templates and messages

Removes the object OID registry entry when rows are deleted from m_sequence.

trigger

m_sequence_oid_insert_tr

Templates and messages

Maintains the object OID registry when rows are inserted into m_sequence.

trigger

m_sequence_update_tr

Templates and messages

Maintains object update metadata before rows are updated in m_sequence.

trigger

m_service_oid_delete_tr

Roles and services

Removes the object OID registry entry when rows are deleted from m_service.

trigger

m_service_oid_insert_tr

Roles and services

Maintains the object OID registry when rows are inserted into m_service.

trigger

m_service_update_tr

Roles and services

Maintains object update metadata before rows are updated in m_service.

trigger

m_shadow_oid_delete_tr

Resources and shadows

Removes the object OID registry entry when rows are deleted from m_shadow.

trigger

m_shadow_oid_insert_tr

Resources and shadows

Maintains the object OID registry when rows are inserted into m_shadow.

trigger

m_shadow_partition_def_bd

Resources and shadows

Drops shadow partition tables when partition definitions are deleted.

trigger

m_shadow_partition_def_bi

Resources and shadows

Creates shadow partition tables from inserted partition definitions.

trigger

m_shadow_partition_def_bu

Resources and shadows

Updates shadow partition attachment state from partition definition changes.

trigger

m_shadow_update_tr

Resources and shadows

Maintains object update metadata before rows are updated in m_shadow.

trigger

m_simulation_result_create_partition

Simulations

Creates a processed-object partition after inserting a partitioned simulation result.

trigger

m_simulation_result_delete_partition

Simulations

Drops a processed-object partition before deleting a partitioned simulation result.

trigger

m_simulation_result_oid_delete_tr

Simulations

Removes the object OID registry entry when rows are deleted from m_simulation_result.

trigger

m_simulation_result_oid_insert_tr

Simulations

Maintains the object OID registry when rows are inserted into m_simulation_result.

trigger

m_simulation_result_update_tr

Simulations

Maintains object update metadata before rows are updated in m_simulation_result.

trigger

m_system_configuration_oid_delete_tr

System objects

Removes the object OID registry entry when rows are deleted from m_system_configuration.

trigger

m_system_configuration_oid_insert_tr

System objects

Maintains the object OID registry when rows are inserted into m_system_configuration.

trigger

m_system_configuration_update_tr

System objects

Maintains object update metadata before rows are updated in m_system_configuration.

trigger

m_task_oid_delete_tr

Tasks

Removes the object OID registry entry when rows are deleted from m_task.

trigger

m_task_oid_insert_tr

Tasks

Maintains the object OID registry when rows are inserted into m_task.

trigger

m_task_update_tr

Tasks

Maintains object update metadata before rows are updated in m_task.

trigger

m_user_oid_delete_tr

Focus and users

Removes the object OID registry entry when rows are deleted from m_user.

trigger

m_user_oid_insert_tr

Focus and users

Maintains the object OID registry when rows are inserted into m_user.

trigger

m_user_update_tr

Focus and users

Maintains object update metadata before rows are updated in m_user.

trigger

m_value_policy_oid_delete_tr

Reports and dashboards

Removes the object OID registry entry when rows are deleted from m_value_policy.

trigger

m_value_policy_oid_insert_tr

Reports and dashboards

Maintains the object OID registry when rows are inserted into m_value_policy.

trigger

m_value_policy_update_tr

Reports and dashboards

Maintains object update metadata before rows are updated in m_value_policy.

trigger

fuzzystrmatch

Infrastructure

Enables fuzzy string matching functions used by repository search features.

extension

intarray

Infrastructure

Enables indexing support for integer array columns used by repository search tables.

extension

pg_trgm

Infrastructure

Enables trigram indexes used for efficient text search.

extension

CURRENT_USER

Infrastructure

Creates the schema used by the native PostgreSQL repository objects for the current database user.

schema

do-block-1

Infrastructure

Ensures UUID generation support by enabling pgcrypto when gen_random_uuid() is not already available.

DO block

do-block-2

Infrastructure

Adds the objectType discriminator column to m_object using PostgreSQL-version-specific generated-column behavior.

DO block

do-block-3

Infrastructure

Adds discriminator columns to m_reference and m_container using PostgreSQL-version-specific generated-column behavior.

DO block

Was this page helpful?
YES NO
Thanks for your feedback