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

sql/types: do not panic formatting unhydrated UDTs #85941

Merged

Conversation

ajwerner
Copy link
Contributor

Before this patch, if a bug resulted in a UDT's types.T getting to a point
where it was being formatted to a string without being hydrated, a panic would
occur. Now the type is formatted into an OIDTypeReference which is slightly
less pretty, but is valid.

Relates to #85447

Release note: None

Before this patch, if a bug resulted in a UDT's types.T getting to a point
where it was being formatted to a string without being hydrated, a panic would
occur. Now the type is formatted into an OIDTypeReference which is slightly
less pretty, but is valid.

Relates to cockroachdb#85447

Release note: None
@ajwerner ajwerner requested a review from a team as a code owner August 11, 2022 02:32
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

:lgtm: Thanks!

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @ajwerner)

@ajwerner
Copy link
Contributor Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 11, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Aug 11, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Aug 11, 2022

Build succeeded:

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