Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Forquery_typed, deal with the no-data case.#1165

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

ramnivas
Copy link
Contributor

If a query returns no data, we receiveMessage::NoData, which signals the completion of the query. However, we treated it as a no-op, leading to processing other messages and eventual failure.

This PR fixes the issue and updates thequery_typed tests to cover this scenario.

If a query returns no data, we receive `Message::NoData`, which signalsthe completion of the query. However, we treated it as a no-op, leadingto processing other messages and eventual failure.This PR fixes the issue and updates the `query_typed` tests to coverthis scenario.
@sfacklersfackler merged commit3afcc3d intorust-postgres:masterJul 23, 2024
@sfackler
Copy link
Collaborator

Thanks!

1 similar comment
@ramnivas
Copy link
ContributorAuthor

Thanks!

ramnivas added a commit to exograph/exograph that referenced this pull requestSep 18, 2024
Withrust-postgres/rust-postgres#1165 merged and a new release with that change available in 0.7.12, we no longer need to use our fork.Compared torust-postgres/rust-postgres#1147, there was a name change for `query_typed`, so this commit takes care of that.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ramnivas@sfackler

[8]ページ先頭

©2009-2025 Movatter.jp