8 Commits

Author SHA1 Message Date
Joost Jager
0cae55c162 kvdb/postgres: fix context cancellation 2021-12-22 14:54:43 +01:00
Joost Jager
62a2f3c809 kvdb/postgres: fix tests 2021-12-22 14:54:41 +01:00
Joost Jager
274faff980 postgres: add connection limit 2021-11-17 11:08:43 +01:00
Oliver Gugger
41c579fd09 multi: run go fmt with go 1.17 2021-11-08 22:39:41 +01:00
Joost Jager
d997bbf6b3 channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
Joost Jager
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
Joost Jager
bd291286f7 kvdb/postgres: convert all types of panic data to error
Previously the assumption existed that panic data was already an error.
If that wasn't the case for example because panic("string") was used,
the transaction wasn't unlocked.
2021-10-29 10:54:40 +02:00
Joost Jager
3eb80cac97 kvdb: add postgres 2021-09-21 10:44:18 +02:00