Skip to content

Fix ALTER STATISTICS ... SET STATISTICS DEFAULT - #228

Closed
R3gardless wants to merge 1 commit into
lelit:v8from
R3gardless:fix-alter-statistics-default
Closed

R3gardless wants to merge 1 commit into
lelit:v8from
R3gardless:fix-alter-statistics-default

Conversation

@R3gardless

Copy link
Copy Markdown
Contributor

ALTER STATISTICS st SET STATISTICS DEFAULT comes out as ALTER STATISTICS st SET STATISTICS None, because stxstattarget is not set in that case.

There was no test for ALTER STATISTICS, so I added a small roundtrip file.

The missing stxstattarget was printed as None.
@R3gardless R3gardless closed this Oct 19, 2026
@lelit lelit reopened this Oct 25, 2026
@lelit

lelit commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Thank you: since this affects also v7, I'm transplanting it there first.

lelit added a commit that referenced this pull request Oct 25, 2026
@lelit

lelit commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Ok, this (and many-but-not-all following PRs) got transplanted onto v7 and then merged into v8. That means that the commit sha changed.

@lelit lelit closed this Oct 25, 2026
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.

2 participants