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

fix(postgres): fix buffer management in PgCopyIn::read_from #2630

Merged
merged 1 commit into from Jul 24, 2023

Conversation

tsing
Copy link
Contributor

@tsing tsing commented Jul 19, 2023

fixes #2614

This pull request addresses the issue with the put_slice function does not advance the bytes_written variable, and that an empty CopyData packet is sent with the correct length.

@tsing tsing changed the title fix(postgres): fix buffer management in PgCopyIn.read_from fix(postgres): fix buffer management in PgCopyIn::read_from Jul 19, 2023
@abonander abonander merged commit 94379d8 into launchbadge:main Jul 24, 2023
57 checks passed
@tsing tsing deleted the fix-copy-in branch July 24, 2023 23:56
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.

PostgreSQL copy_in_raw did not work when upgrade v0.6.2 to v0.7.0
2 participants