timescaledb/.unreleased/feature_6865
Fabrízio de Royes Mello 183d309b2c Update the watermark when truncating a CAgg
In #5261 we cached the Continuous Aggregate watermark value in a
metadata table to improve performance avoiding compute the watermark at
planning time.

Manually DML operations on a CAgg are not recommended and instead the
user should use the `refresh_continuous_aggregate` procedure. But we
handle `TRUNCATE` over CAggs generating the necessary invalidation logs
so make sense to also update the watermark.
2024-04-26 16:57:10 -03:00

2 lines
62 B
Plaintext

Implements: #6865 Update the watermark when truncating a CAgg