mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-21 13:14:19 +08:00
Allow Replica Identity (Alter Table) on CAGGs (#5868)
This commit is a follow up of #5515, which added support for ALTER TABLE ... REPLICA IDENTITY (FULL | INDEX) on hypertables. This commit allows the execution against materialized hypertables to enable update / delete operations on continuous aggregates when logical replication in enabled for them.
This commit is contained in:
parent
eaa1206b7f
commit
88aaf23ae3
1
.unreleased/PR_5868
Normal file
1
.unreleased/PR_5868
Normal file
@ -0,0 +1 @@
|
|||||||
|
Implements: #5868 Allows ALTER TABLE ... REPLICA IDENTITY (FULL|INDEX) on materialized hypertables (continuoues aggregates)
|
@ -199,6 +199,7 @@ check_continuous_agg_alter_table_allowed(Hypertable *ht, AlterTableStmt *stmt)
|
|||||||
case AT_AddIndex:
|
case AT_AddIndex:
|
||||||
case AT_ReAddIndex:
|
case AT_ReAddIndex:
|
||||||
case AT_SetRelOptions:
|
case AT_SetRelOptions:
|
||||||
|
case AT_ReplicaIdentity:
|
||||||
/* allowed on materialization tables */
|
/* allowed on materialization tables */
|
||||||
continue;
|
continue;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user