From 092a33e0c167b69ee2be320e07252e3ab828784c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Szczur?= Date: Thu, 11 Jan 2024 15:18:38 +0100 Subject: [PATCH] Remove arbitrarly chosen extra_float_digits connection option. --- connector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector.go b/connector.go index 1145e122..d1513081 100644 --- a/connector.go +++ b/connector.go @@ -57,7 +57,7 @@ func NewConnector(dsn string) (*Connector, error) { o["port"] = "5432" // N.B.: Extra float digits should be set to 3, but that breaks // Postgres 8.4 and older, where the max is 2. - o["extra_float_digits"] = "2" + // o["extra_float_digits"] = "2" for k, v := range parseEnviron(os.Environ()) { o[k] = v }