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

Switch our call to PQgetCopyData to async in pg_copy(). #479

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

dimitri
Copy link
Owner

@dimitri dimitri commented Sep 26, 2023

This call should not be blocking in our implementation, because we want to be able to react to network problems or server-side interruptions.

Copy link
Contributor

@shubhamdhama shubhamdhama left a comment

Choose a reason for hiding this comment

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

@dimitri this worked fine when ran with --fail-fast.

This call should not be blocking in our implementation, because we want to
be able to react to network problems or server-side interruptions.
@dimitri dimitri merged commit 17a317d into main Sep 29, 2023
15 checks passed
@dimitri dimitri deleted the fix/pqgetcopydata-async-mode branch September 29, 2023 15:55
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.

2 participants