@@ -48,6 +48,7 @@ func NewPgClientFromDSN(dsn string) (*pg.Client, error) {
|
||||
if u.Port() == "" {
|
||||
host = net.JoinHostPort(u.Hostname(), "5432")
|
||||
}
|
||||
|
||||
opts = append(opts, pg.WithAddr(host))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user