From 573b5622c8494d43f2c69e64c226b166adb23622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C4=85tkowski?= Date: Tue, 9 Aug 2022 00:40:57 +0200 Subject: [PATCH] Remove no-ops --- pkg/persistence/postgres.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/persistence/postgres.go b/pkg/persistence/postgres.go index 0902be8..7f2c68e 100644 --- a/pkg/persistence/postgres.go +++ b/pkg/persistence/postgres.go @@ -27,12 +27,12 @@ func makePostgresDatabase(url_ *url.URL) (Database, error) { schema := url_.Query().Get("schema") if schema == "" { db.schema = "magneticod" - url_.Query().Set("search_path", "magneticod") + // url_.Query().Set("search_path", "magneticod") } else { 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 db.conn, err = sql.Open("pgx", url_.String())