You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if opt.getNetwork() == "unix" {
return "/var/run/postgresql/.s.PGSQL.5432"
}
However on my (freebsd) system .s.PGSQL.5432 is in /tmp/ which with the standard sql connector I can work with by using sql.Open("postgres", "dbname=history.db sslmode=disable host=/tmp/") but that doesn't work with this library as the parth is hard coded.
The text was updated successfully, but these errors were encountered:
https://github.com/go-pg/pg/blob/v4/options.go#L69 has:
However on my (freebsd) system .s.PGSQL.5432 is in /tmp/ which with the standard sql connector I can work with by using
sql.Open("postgres", "dbname=history.db sslmode=disable host=/tmp/")
but that doesn't work with this library as the parth is hard coded.The text was updated successfully, but these errors were encountered: