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

Return rows copied for COPY command #985

Merged
merged 2 commits into from
Jul 13, 2020

Conversation

philipglazman
Copy link
Contributor

Return number of rows copied for COPY command from the CommandComplete postgres message.

Only the final Exec(nil) call will return the driver.Result with rowsAffected.

@maddyblue maddyblue merged commit 24222a3 into lib:master Jul 13, 2020
xhit pushed a commit to xhit/pq that referenced this pull request Jul 16, 2020
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