Skip to content

Report user error disabling continuous aggregate - #10384

Open
JoongHyuk-Shin wants to merge 1 commit into
timescale:mainfrom
JoongHyuk-Shin:fix/cagg-disable-errcode
Open

Report user error disabling continuous aggregate#10384
JoongHyuk-Shin wants to merge 1 commit into
timescale:mainfrom
JoongHyuk-Shin:fix/cagg-disable-errcode

Conversation

@JoongHyuk-Shin

Copy link
Copy Markdown
Contributor

Changing the timescaledb.continuous flag of a continuous aggregate was rejected with elog(),
which reports SQLSTATE XX000 (internal error) for an ordinary user-facing condition.
Use ereport() with ERRCODE_FEATURE_NOT_SUPPORTED, matching the other option checks in the same file.

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown

@kpan2034, @pnthao: please review this pull request.

Powered by pull-review

Changing the timescaledb.continuous flag of a continuous aggregate was
rejected with elog(), which reports SQLSTATE XX000 (internal error) for
an ordinary user-facing condition. Use ereport() with
ERRCODE_FEATURE_NOT_SUPPORTED, matching the other option checks in the
same file.
@JoongHyuk-Shin
JoongHyuk-Shin force-pushed the fix/cagg-disable-errcode branch from 6b953ed to 0b4ec2b Compare August 2, 2026 06:22
@codecov

codecov Bot commented Aug 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant