Remove no-ops
This commit is contained in:
parent
65a3285057
commit
573b5622c8
@ -27,12 +27,12 @@ func makePostgresDatabase(url_ *url.URL) (Database, error) {
|
|||||||
schema := url_.Query().Get("schema")
|
schema := url_.Query().Get("schema")
|
||||||
if schema == "" {
|
if schema == "" {
|
||||||
db.schema = "magneticod"
|
db.schema = "magneticod"
|
||||||
url_.Query().Set("search_path", "magneticod")
|
// url_.Query().Set("search_path", "magneticod")
|
||||||
} else {
|
} else {
|
||||||
db.schema = schema
|
db.schema = schema
|
||||||
url_.Query().Set("search_path", schema)
|
// url_.Query().Set("search_path", schema)
|
||||||
}
|
}
|
||||||
url_.Query().Del("schema")
|
// url_.Query().Del("schema")
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
db.conn, err = sql.Open("pgx", url_.String())
|
db.conn, err = sql.Open("pgx", url_.String())
|
||||||
|
Loading…
Reference in New Issue
Block a user