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

pgwire: fix error messages when reading from client buffer #124366

Merged
merged 1 commit into from
May 20, 2024

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented May 17, 2024

In 9b93b72, I changed the error
handling logic in the pgwire connection loop, but left the old wording
that was specific to one type of error.

This fixes the error message and improves the comments.

Epic: None
Release note: None

@rafiss rafiss added backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2. backport-24.1.x Flags PRs that need to be backported to 24.1. labels May 17, 2024
@rafiss rafiss requested review from fqazi and yuzefovich May 17, 2024 20:57
@rafiss rafiss requested review from a team as code owners May 17, 2024 20:57
Copy link

blathers-crl bot commented May 17, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rafiss rafiss changed the title pgwire: fix the scope for a error-handling if statement pgwire: fix error messages when reading from client buffer May 18, 2024
@rafiss rafiss removed backport-23.1.x Flags PRs that need to be backported to 23.1 backport-23.2.x Flags PRs that need to be backported to 23.2. backport-24.1.x Flags PRs that need to be backported to 24.1. labels May 18, 2024
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:

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

Copy link
Collaborator

@fqazi fqazi 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 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 2 of 0 LGTMs obtained (waiting on @rafiss)

In 9b93b72, I changed the error
handling logic in the pgwire connection loop, but left the old wording
that was specific to one type of error.

This fixes the error message and improves the comments.

Release note: None
@rafiss
Copy link
Collaborator Author

rafiss commented May 20, 2024

tftr!

bors r+

@craig craig bot merged commit ce45946 into cockroachdb:master May 20, 2024
21 of 22 checks passed
@rafiss rafiss deleted the fix-pgwire-brace branch May 21, 2024 13:54
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.

None yet

4 participants