support for PREPARE and EXECUTE statement#298
Open
TwistingTwists wants to merge 11 commits intodatafusion-contrib:masterfrom
Open
support for PREPARE and EXECUTE statement#298TwistingTwists wants to merge 11 commits intodatafusion-contrib:masterfrom
TwistingTwists wants to merge 11 commits intodatafusion-contrib:masterfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sister PR: sunng87/pgwire#409
Closes: #292
Prepared Statement Test Results
All tests passed end-to-end with real
psql.PREPARE my_stmt AS SELECT 42PREPAREEXECUTE my_stmt(twice)42both timesPREPARE param_stmt (INT) AS SELECT $1 * 2PREPAREEXECUTE param_stmt(21)42EXECUTE param_stmt(100)200DEALLOCATE my_stmtDEALLOCATEEXECUTE my_stmtafter deallocate"does not exist"DEALLOCATE ALLDEALLOCATEEXECUTE stmt_aafterDEALLOCATE ALL"does not exist"