1
0
mirror of https://github.com/timescale/timescaledb.git synced 2025-05-21 05:04:32 +08:00

Allow Replica Identity (Alter Table) on CAGGs ()

This commit is a follow up of , 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:
noctarius aka Christoph Engelbert 2023-07-12 14:53:40 +02:00 committed by GitHub
parent eaa1206b7f
commit 88aaf23ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

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_ReAddIndex:
case AT_SetRelOptions:
case AT_ReplicaIdentity:
/* allowed on materialization tables */
continue;
default: