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

Improve Cursor.copy() #538

Merged
merged 3 commits into from
Nov 21, 2023
Merged

Improve Cursor.copy() #538

merged 3 commits into from
Nov 21, 2023

Conversation

sitingren
Copy link
Member

Improve Cursor.copy() of handling multiple statements (The first statement is COPY FROM STDIN statement, the second (and later) statement is something can be executed with Cursor.execute()).
Better error message if the query starts with a non-COPY FROM STDIN statement, or have multiple COPY FROM STDIN statements.

This improvement may fix #536.

@sitingren sitingren merged commit 26e3d08 into vertica:master Nov 21, 2023
8 checks passed
@sitingren sitingren deleted the copy-multi branch November 21, 2023 08:07
@nicolaerosia
Copy link

can you please release a version with this? It's much easier to test it

@sitingren
Copy link
Member Author

@nicolaerosia Included in v1.3.7.

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.

Unexpected message: RowDescription
2 participants