Document ADD COLUMN on continuous aggregates (2.28.0) - #316
Merged
atovpeko merged 4 commits intoJun 12, 2026
Merged
Conversation
TimescaleDB 2.28.0 (timescale/timescaledb#9825) supports adding a new aggregate to a continuous aggregate in place via ALTER MATERIALIZED VIEW ADD COLUMN ... GENERATED ALWAYS AS (<aggregate>) STORED. Reword the clause-list lead-in so it no longer implies every bullet is a standard PostgreSQL ALTER VIEW clause: aggregates in generated columns are TimescaleDB-specific and not valid in plain PostgreSQL.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… page Match the page's Samples section, which gives an example for each supported clause (verified against TimescaleDB 2.28.0).
TimescaleDB 2.28.0 (timescale/timescaledb#9825) adds ADD COLUMN on continuous aggregates, so the note stating no schema changes are possible is no longer accurate. Point it at the ALTER MATERIALIZED VIEW reference.
melihmutlu
reviewed
Jun 11, 2026
- Generalize the clause to cover aggregates and GROUP BY columns - Add a GROUP BY-column example - Explain NULL-until-backfill behavior and show force => true refresh Verified against a local 2.29.0-dev build.
melihmutlu
approved these changes
Jun 12, 2026
atovpeko
merged commit Jun 12, 2026
db1d118
into
atovpeko1/edu-136-timescale-db-228-release
6 of 8 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes
Documents
ALTER MATERIALIZED VIEW <cagg> ADD COLUMN <name> <type> GENERATED ALWAYS AS (<aggregate>) STORED, added in TimescaleDB 2.28.0 (timescale/timescaledb#9825), on the continuous aggregateALTER MATERIALIZED VIEWreference page.NULLuntil a forced refresh backfills them.ALTER VIEWclause: aggregates in generated columns are TimescaleDB-specific and not valid in plain PostgreSQL.Affected pages
Related Issues
Issue: https://linear.app/tigerdata/issue/EDU-136
Checklist before requesting a review