feat: implement postgres kvbackend (#4421)

This commit is contained in:
Lanqing Yang
2024-08-14 15:49:32 -07:00
committed by GitHub
parent 2c3fccb516
commit 93be81c041
16 changed files with 801 additions and 8 deletions

View File

@@ -90,5 +90,5 @@ rand.workspace = true
script.workspace = true
session = { workspace = true, features = ["testing"] }
store-api.workspace = true
tokio-postgres = "0.7"
tokio-postgres = { workspace = true }
url = "2.3"

View File

@@ -0,0 +1,12 @@
version: '3.9'
services:
postgres:
image: postgres:14-alpine
ports:
- 5432:5432
volumes:
- ~/apps/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=greptimedb
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=admin