Commit Graph

8 Commits

Author SHA1 Message Date
170160f28a kvdb+refactor: move all general sqlite code to seprate dir
In this commit, all the sql, non-postgres-specific, code is moved out of
the postgres package and into a new sqlbase package. This will make it
more easily reusable for future sql integrations.
2023-01-23 09:05:11 +02:00
3dfaa88bb4 kvdb/postgres: remove old +build directive and cleanup
Due to the update of the kvdb package to go1.18, the `// +build`
directives are no longer required. They are removed in this commit in
order to simplify upcoming commits. Along the way, a few typos are fixed
and an unused struct is removed.
2023-01-23 09:05:11 +02:00
0cae55c162 kvdb/postgres: fix context cancellation 2021-12-22 14:54:43 +01:00
62a2f3c809 kvdb/postgres: fix tests 2021-12-22 14:54:41 +01:00
41c579fd09 multi: run go fmt with go 1.17 2021-11-08 22:39:41 +01:00
d997bbf6b3 channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
7c048efa21 kvdb/postgres/test: single instance embedded postgres database
Prepare for parallel tests that use a postgres backend. We don't want a
high number of embedded postgres instances running simultaneously.
2021-10-29 10:54:42 +02:00
3eb80cac97 kvdb: add postgres 2021-09-21 10:44:18 +02:00