kvdb: add postgres

This commit is contained in:
Joost Jager committed 2021-09-21 10:44:18 +02:00
1 parent 9264185f5b
commit 3eb80cac97
19 files changed
+2055 -10

No files matched your search

+5
View File
@@ -13,6 +13,11 @@ const (
// live instance of etcd.
EtcdBackendName = "etcd"
// PostgresBackendName is the name of the backend that should be passed
// into kvdb.Create to initialize a new instance of kvdb.Backend backed
// by a live instance of postgres.
PostgresBackendName = "postgres"
// DefaultBoltAutoCompactMinAge is the default minimum time that must
// have passed since a bolt database file was last compacted for the
// compaction to be considered again.