Closed avallete closed 20 hours ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/db/reset/reset.go | 19 | 21 | 90.48% | ||
<!-- | Total: | 29 | 31 | 93.55% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
internal/gen/keys/keys.go | 5 | 12.9% | ||
internal/utils/misc.go | 6 | 71.3% | ||
<!-- | Total: | 11 | --> |
Totals | |
---|---|
Change from base Build 12004204692: | 0.02% |
Covered Lines: | 6396 |
Relevant Lines: | 10737 |
What kind of change does this PR introduce?
db reset
command work properly on postgres v14The root cause is that while in pg15+
DATABASE DROP FORCE
kill all connections, it's not the case for pg14. Requiring to manually disconnect all connections before performing the reset.Additional context
Closes #2903