aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/postgres2/postgres2_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer/postgres2/postgres2_store.go')
-rw-r--r--weed/filer/postgres2/postgres2_store.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/weed/filer/postgres2/postgres2_store.go b/weed/filer/postgres2/postgres2_store.go
index 0f573d8d0..d95b1c424 100644
--- a/weed/filer/postgres2/postgres2_store.go
+++ b/weed/filer/postgres2/postgres2_store.go
@@ -6,17 +6,19 @@ import (
"fmt"
"time"
- "github.com/chrislusf/seaweedfs/weed/filer"
- "github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"
- "github.com/chrislusf/seaweedfs/weed/filer/postgres"
- "github.com/chrislusf/seaweedfs/weed/util"
_ "github.com/lib/pq"
+ "github.com/seaweedfs/seaweedfs/weed/filer"
+ "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"
+ "github.com/seaweedfs/seaweedfs/weed/filer/postgres"
+ "github.com/seaweedfs/seaweedfs/weed/util"
)
const (
CONNECTION_URL_PATTERN = "host=%s port=%d sslmode=%s connect_timeout=30"
)
+var _ filer.BucketAware = (*PostgresStore2)(nil)
+
func init() {
filer.Stores = append(filer.Stores, &PostgresStore2{})
}