-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement driver option binary_parameters
If set, all parameters of type []byte will be sent over as binary data, which allows the driver to avoid the second round-trip to the server when not using a prepared statement proper. This also allows pgbouncer to be used with parameterized queries, which is impossible if binary_parameters has not been enabled. This patch is still missing documentation, but the code has been sitting on my hard drive for long enough. I'll commit the docs in a followup commit. Marko Tiikkaja, with some help from Chris Gilling
- Loading branch information
Showing
5 changed files
with
300 additions
and
27 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
Oops, something went wrong.