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

EXECUTE doesn't send RowDescription #273

Merged
merged 1 commit into from
May 16, 2024
Merged

EXECUTE doesn't send RowDescription #273

merged 1 commit into from
May 16, 2024

Conversation

jennifersp
Copy link
Contributor

@jennifersp jennifersp commented May 15, 2024

This PR fixes issue connecting to doltgres server using Postgres JDBC driver.

In Postgres docs, it says, "Execute doesn't cause ReadyForQuery or RowDescription to be issued."

Also, queries that don't return set of rows send NoData in response to Describe message.

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

LGTM, fixes the problem for me locally

server/connection_handler.go Show resolved Hide resolved
Copy link
Collaborator

@Hydrocharged Hydrocharged left a comment

Choose a reason for hiding this comment

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

LGTM!

@jennifersp jennifersp merged commit 61c2de3 into main May 16, 2024
11 checks passed
@jennifersp jennifersp deleted the jennifer/row-desc branch May 16, 2024 18:07
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