-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: skip analyzeQuery for queries (#80)
* perf: skip analyzeQuery for queries Skip the analyzeQuery round trip for DescribePortal messages for queries. This is safe, as: 1. The query will not make any changes to the database, so even if we never receive an Execute message, we have not made any changes. 2. ExecuteQuery returns the information we need for Describe. Note that for DML/DDL statements the DescribePortal message is handled internally by PGAdapter as it knows that the answer is NoDataResponse. * chore: fix comment formatting * fix: remove local file reference
- Loading branch information
Showing
5 changed files
with
75 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters