postgres-upgrade.sql - midPoint 4.9
Changes
| Change | Description |
|---|---|
Adds overall confidence column and index to role analysis outlier partitions. |
|
Adds role analysis detected pattern and outlier partition tables, columns, and indexes. |
|
Adds role analysis cluster detected pattern and outlier partition container type values. |
|
Adds last login timestamp column and index to shadows. |
|
Adds target object reference columns and indexes to role analysis outliers. |
|
Adds shadow enable/disable timestamp and disable reason columns. |
|
Renames shadow kind value from |
|
Adds shadow partition management functions, partition definition table, and triggers. |
|
Converts shadow storage to resource-partitioned shadow tables and recreates object view. |
|
Adds assignment effective mark reference table and target lookup index. |
|
Adds |
|
Adds task affected object reference table, foreign key, and target lookup index. |
|
Adds |
|
Adds shadow reference attribute table and owner OID index. |
|
Adds role analysis outlier table and triggers. |
|
Adds |
|
Updates assignment metadata primary key and adds foreign key to assignments. |
|
Adds assignment metadata table and updates assignment approval reference keys. |
|
Adds |
|
Adds |
|
Adds schema object table and triggers. |
|
Adds |
|
Adds policy object table, triggers, and indexes. |
|
Adds |
|
Adds separate full object storage to assignments, operation executions, and selected reference tables. |
Change 50
Since version: 4.9
Adds overall confidence column and index to role analysis outlier partitions.
| Object | Change type | Description |
|---|---|---|
|
Modified table |
Adds overall confidence column. |
|
New index |
Supports filtering by overall confidence. |
Change 49
Since version: 4.9
Adds role analysis detected pattern and outlier partition tables, columns, and indexes.
| Object | Change type | Description |
|---|---|---|
|
New table |
Stores detected patterns for role analysis clusters. |
|
New index |
Supports filtering by reduction count. |
|
New table |
Stores role analysis outlier partitions. |
|
New index |
Supports lookup by cluster reference OID. |
|
Modified table |
Adds overall confidence column. |
|
New index |
Supports filtering by overall confidence. |
Change 48
Since version: 4.9
Adds role analysis cluster detected pattern and outlier partition container type values.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Adds |
Change 47
Since version: 4.9
Adds last login timestamp column and index to shadows.
| Object | Change type | Description |
|---|---|---|
|
Modified table |
Adds last login timestamp column. |
|
New index |
Supports filtering by last login timestamp. |
Change 46
Since version: 4.9
Adds target object reference columns and indexes to role analysis outliers.
| Object | Change type | Description |
|---|---|---|
|
Modified table |
Adds target object reference columns. |
|
New index |
Supports lookup by target object OID. |
|
New index |
Supports lookup by target object type. |
|
New index |
Supports lookup by target object relation. |
Change 45
Since version: 4.9
Adds shadow enable/disable timestamp and disable reason columns.
| Object | Change type | Description |
|---|---|---|
|
Modified table |
Adds disable reason, enable timestamp, and disable timestamp columns. |
Change 44
Since version: 4.9
Renames shadow kind value from ASSOCIATED to ASSOCIATION.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Renames |
Change 43
Since version: 4.9
Adds shadow partition management functions, partition definition table, and triggers.
| Object | Change type | Description |
|---|---|---|
|
New function |
Creates shadow partitions and moves existing shadow data. |
|
New function |
Drops shadow partitions when partition definitions are removed. |
|
New function |
Attaches shadow partitions when partition definitions change. |
|
New table |
Stores shadow partition definitions. |
|
New trigger |
Creates shadow partitions from inserted partition definitions. |
|
New trigger |
Updates shadow partition attachment state. |
|
New trigger |
Drops shadow partitions when definitions are deleted. |
Change 42
Since version: 4.9
Converts shadow storage to resource-partitioned shadow tables and recreates object view.
| Object | Change type | Description |
|---|---|---|
|
Recreated table |
Converts shadow storage to resource-partitioned table. |
|
Modified table |
Becomes default partition of the new shadow table. |
|
Recreated view |
Combines object and shadow rows for object-wide queries. |
|
Recreated trigger |
Reserves OID rows for inserted shadows. |
|
Recreated trigger |
Maintains update metadata for shadows. |
|
Recreated trigger |
Releases OID rows for deleted shadows. |
Change 41
Since version: 4.9
Adds assignment effective mark reference table and target lookup index.
| Object | Change type | Description |
|---|---|---|
|
New table |
Stores effective mark references for assignments. |
|
New index |
Supports reverse lookup of assignment effective mark references. |
Change 40
Since version: 4.9
Adds ASSIGNMENT_EFFECTIVE_MARK reference type value.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Adds |
Change 39
Since version: 4.9
Adds task affected object reference table, foreign key, and target lookup index.
| Object | Change type | Description |
|---|---|---|
|
New table |
Stores affected-object references for tasks. |
|
New foreign key |
Links affected-object references to task affected object rows. |
|
New index |
Supports reverse lookup by target object and relation. |
Change 38
Since version: 4.9
Adds TASK_AFFECTED_OBJECT reference type value.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Adds |
Change 37
Since version: 4.9
Adds shadow reference attribute table and owner OID index.
| Object | Change type | Description |
|---|---|---|
|
New table |
Stores shadow reference attribute values. |
|
New index |
Supports lookup of shadow reference attributes by owner OID. |
Change 36
Since version: 4.9
Adds role analysis outlier table and triggers.
| Object | Change type | Description |
|---|---|---|
|
New table |
Stores role analysis outlier objects. |
|
New trigger |
Reserves OID rows for inserted role analysis outliers. |
|
New trigger |
Maintains update metadata for role analysis outliers. |
|
New trigger |
Releases OID rows for deleted role analysis outliers. |
Change 35
Since version: 4.9
Adds ROLE_ANALYSIS_OUTLIER object type value.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Adds |
Change 34
Since version: 4.9
Updates assignment metadata primary key and adds foreign key to assignments.
| Object | Change type | Description |
|---|---|---|
|
Modified table |
Replaces primary key and adds foreign key to assignments. |
Change 33
Since version: 4.9
Adds assignment metadata table and updates assignment approval reference keys.
| Object | Change type | Description |
|---|---|---|
|
New table |
Stores value metadata for assignments and inducements. |
|
New index |
Supports filtering or ordering assignment metadata by creation time. |
|
New index |
Supports filtering or ordering assignment metadata by modification time. |
|
Modified table |
Adds metadata container ID and updates uniqueness key. |
|
Modified table |
Adds metadata container ID and updates uniqueness key. |
Change 32
Since version: 4.9
Adds ASSIGNMENT_METADATA container type value.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Adds |
Change 31
Since version: 4.9
Adds ASSOCIATED shadow kind value.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Adds temporary |
Change 30
Since version: 4.9
Adds schema object table and triggers.
| Object | Change type | Description |
|---|---|---|
|
New table |
Stores schema objects. |
|
New trigger |
Reserves OID rows for inserted schema objects. |
|
New trigger |
Maintains update metadata for schema objects. |
|
New trigger |
Releases OID rows for deleted schema objects. |
Change 29
Since version: 4.9
Adds SCHEMA object type value.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Adds |
Change 28
Since version: 4.9
Adds policy object table, triggers, and indexes.
| Object | Change type | Description |
|---|---|---|
|
New table |
Stores policy objects. |
|
New trigger |
Reserves OID rows for inserted policy objects. |
|
New trigger |
Maintains update metadata for policy objects. |
|
New trigger |
Releases OID rows for deleted policy objects. |
|
New index |
Supports lookup by original object name. |
|
New unique index |
Enforces unique normalized object names. |
|
New index |
Supports filtering by subtype. |
|
New index |
Supports lookup by identifier. |
|
New index |
Supports filtering by validity start. |
|
New index |
Supports filtering by validity end. |
|
New index |
Supports full-text-like searches. |
|
New index |
Supports filtering or ordering by creation time. |
|
New index |
Supports filtering or ordering by modification time. |
Change 27
Since version: 4.9
Adds POLICY object type value.
| Object | Change type | Description |
|---|---|---|
|
Modified enum type |
Adds |
Change 26
Since version: 4.9
Adds separate full object storage to assignments, operation executions, and selected reference tables.
| Object | Change type | Description |
|---|---|---|
|
Modified table |
Adds separate full object storage. |
|
Modified table |
Adds separate full object storage. |
|
Modified table |
Adds separate full object storage. |
|
Modified table |
Adds separate full object storage. |