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

opt: make index names in test catalog consistent with real catalog #71818

Merged
merged 2 commits into from
Oct 22, 2021

Conversation

mgartner
Copy link
Collaborator

opt: name primary indexes <table_name>_pkey in test catalog

This commit updates the test catalog to name primary keys in the form
<table_name>_pkey. This makes primary index names consistent with the
real catalog and Postgres. See #70604.

Release note: None

opt: make secondary index names in test catalog consistent with real catalog

This commit updates the test catalog to name secondary keys consistently
with the real catalog and Postgres.

Release note: None

@mgartner mgartner requested review from rytaft, otan and a team October 21, 2021 16:23
@mgartner mgartner requested a review from a team as a code owner October 21, 2021 16:23
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@michae2 michae2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 33 of 33 files at r1, 50 of 53 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @michae2, @otan, and @rytaft)

This commit updates the test catalog to name primary keys in the form
`<table_name>_pkey`. This makes primary index names consistent with the
real catalog and Postgres. See cockroachdb#70604.

Release note: None
…catalog

This commit updates the test catalog to name secondary keys consistently
with the real catalog and Postgres.

Release note: None
@mgartner mgartner force-pushed the testcat-index-naming branch from 594c241 to 8a9e560 Compare October 22, 2021 13:57
@mgartner
Copy link
Collaborator Author

TFTRs!

bors r+

@craig
Copy link
Contributor

craig bot commented Oct 22, 2021

Build succeeded:

@craig craig bot merged commit f6c7b45 into cockroachdb:master Oct 22, 2021
@mgartner mgartner deleted the testcat-index-naming branch October 22, 2021 16:41
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.

4 participants