Skip to content

Improve Cursor.copy()#538

Merged
sitingren merged 3 commits into
vertica:masterfrom
sitingren:copy-multi
Nov 21, 2023
Merged

Improve Cursor.copy()#538
sitingren merged 3 commits into
vertica:masterfrom
sitingren:copy-multi

Conversation

@sitingren
Copy link
Copy Markdown
Contributor

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
@sitingren sitingren deleted the copy-multi branch November 21, 2023 08:07
@nicolaerosia
Copy link
Copy Markdown

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

@sitingren
Copy link
Copy Markdown
Contributor 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