From 92fdb2f3bdc3176453db5f46a3908c36cc358d9a Mon Sep 17 00:00:00 2001 From: Hans-Joachim Kliemeck Date: Tue, 21 May 2024 10:27:44 +0200 Subject: [PATCH] fix compile error --- pgconn/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgconn/config.go b/pgconn/config.go index 35b597e01..1810c6b90 100644 --- a/pgconn/config.go +++ b/pgconn/config.go @@ -801,7 +801,7 @@ func parsePort(s string) (uint16, error) { func makeDefaultDialer() *net.Dialer { // rely on GOLANG KeepAlive settings - return net.Dialer + return &net.Dialer{} } func makeDefaultResolver() *net.Resolver {