Skip to content

Conversation

rafiss
Copy link
Collaborator

@rafiss rafiss commented Sep 22, 2025

fixes #153505
Release note (bug fix): Fixed a bug where we would not show the pgwire RowDescription for EXECUTE statements that were themselves prepared using the pgwire Parse command.

@rafiss rafiss requested a review from fqazi September 22, 2025 21:16
@rafiss rafiss requested review from a team as code owners September 22, 2025 21:16
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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: Nice find!

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

Release note (bug fix): Fixed a bug where we would not show the
pgwire RowDescription for EXECUTE statements that were themselves
prepared using the pgwire Parse command.
@rafiss
Copy link
Collaborator Author

rafiss commented Sep 23, 2025

tftr!

bors r+

craig bot pushed a commit that referenced this pull request Sep 23, 2025
153464: server: only auto-upgrade system tenant from meta1 leaseholder r=arulajmani a=stevendanna

Running the auto-upgrade process from all nodes does some amount of wasted work. Let's avoid that by only running it from the meta1 leaseholder. This only applies to the system tenant.

For shared-process multi-tenancy, we may consider allowing secondary tenants access to this same information.

For separate process multi-tenancy, a different solution would be needed.

Informs #152916

Release note: None

153624: ui: bump cluster-ui to 25.4 prerelease r=dhartunian a=dhartunian

Resolves: CC-33581
Epic: None
Release note: None

153905: pgwire: show RowDescription for EXECUTE when needed r=rafiss a=rafiss

fixes #153505
Release note (bug fix): Fixed a bug where we would not show the pgwire RowDescription for EXECUTE statements that were themselves prepared using the pgwire Parse command.

153954: changefeedccl: fix TestAlterChangefeedAddTargetsDuringSchemaChangeError r=KeithCh,asg0451 a=andyyang890

This patch deflakes a unit test that started failing because the change
to checkpoint aggregators regularly meant that setting a low span-level
checkpoint interval wasn't enough to make sure a checkpoint happened
quickly enough during the test.

Fixes #153918

Release note: None

Co-authored-by: Steven Danna <danna@cockroachlabs.com>
Co-authored-by: David Hartunian <davidh@cockroachlabs.com>
Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
Co-authored-by: Andy Yang <yang@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Sep 23, 2025

Build failed (retrying...):

craig bot pushed a commit that referenced this pull request Sep 23, 2025
153464: server: only auto-upgrade system tenant from meta1 leaseholder r=arulajmani a=stevendanna

Running the auto-upgrade process from all nodes does some amount of wasted work. Let's avoid that by only running it from the meta1 leaseholder. This only applies to the system tenant.

For shared-process multi-tenancy, we may consider allowing secondary tenants access to this same information.

For separate process multi-tenancy, a different solution would be needed.

Informs #152916

Release note: None

153905: pgwire: show RowDescription for EXECUTE when needed r=rafiss a=rafiss

fixes #153505
Release note (bug fix): Fixed a bug where we would not show the pgwire RowDescription for EXECUTE statements that were themselves prepared using the pgwire Parse command.

Co-authored-by: Steven Danna <danna@cockroachlabs.com>
Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Sep 23, 2025

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Sep 23, 2025

@craig craig bot merged commit cdd0b29 into cockroachdb:master Sep 23, 2025
23 checks passed
@rafiss rafiss deleted the pgwire-fix-execute branch September 24, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EXECUTE statement triggers unexpected error with JDBC: Received resultset tuples, but no field structure for them
3 participants