Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-21.1: sql: remove fake index and statistics collectors pg_catalog tables #61876

Merged

Conversation

RichardJCai
Copy link
Contributor

Backport 1/1 commits from #61794.

/cc @cockroachdb/release


Release note (sql change): Remove pg_catalog tables that were mistakenly added,
notably all tables that end in _index that are not pg_catalog.pg_classes and all
statistics collector tables that are not pg_stat_activity.

Removing pg statistics collector tables since they are somewhat different from regular pg_catalog tables and it's unlikely for us to implement them. Accessing them will simply error.

pg_metadata_test.go has not yet been updating to reflect that the _index tables should not actually be tables.

Release justification: Low risk, removing unused/unimplemented vtables before they make it into prod.

Release note (sql change): Remove pg_catalog tables that were mistakenly added,
notably all tables that end in _index that are not pg_catalog.pg_classes and all
statistics collector tables that are not pg_stat_activity.
@RichardJCai RichardJCai requested a review from rafiss March 11, 2021 22:31
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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.

3 participants