We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 450ce85 commit 776f3d4Copy full SHA for 776f3d4
1 file changed
postgresql/config.go
@@ -217,6 +217,8 @@ func (c *Config) featureSupported(name featureName) bool {
217
func (c *Config) connParams() []string {
218
params := map[string]string{}
219
220
+ params["binary_mode"] = "on"
221
+
222
// sslmode and connect_timeout are not allowed with gocloud
223
// (TLS is provided by gocloud directly)
224
if c.Scheme == "postgres" {
0 commit comments