navidrome/db
Deluan 1b457784d9 fix(pglite): answer client handshakes from the bridge after the first one
A client that starts a handshake and disconnects before the password
step (a pool connection attempt timing out behind a long scanner
transaction) left the single backend in ClientAuthInProgress, and it
then answered other clients' queries without ReadyForQuery, or read
their query as an empty one, until the next handshake completed. Each
such reply broke a pooled connection and, during a scan, the scanner
transaction on it. The bridge now replies AuthenticationOk, the cached
ParameterStatus messages, BackendKeyData and ReadyForQuery itself for
every client after the first, answers SSLRequest with N, and drops
CancelRequest connections.
2026-09-05 01:55:55 -04:00
..
migrations perf(pglite): artist stats as hash joins, one statement for a full refresh; bigint library size 2026-09-04 23:23:50 -04:00
pglite fix(pglite): answer client handshakes from the bridge after the first one 2026-09-05 01:55:55 -04:00
backup.go feat(pglite): run Navidrome on the embedded PostgreSQL end to end 2026-09-04 20:41:52 -04:00
backup_test.go chore(deps): upgrade to Go 1.27 (#5990) 2026-08-30 12:43:15 -04:00
db.go perf(pglite): keep pooled connections idle instead of churning them 2026-09-05 00:08:43 -04:00
db_test.go feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes (#2709) 2025-02-19 20:35:17 -05:00
export_test.go perf(db): keep query planner statistics trustworthy with full ANALYZE (#5740) 2026-07-13 12:04:29 -04:00
optimize.go feat(pglite): checkpoint after ANALYZE at the end of a scan 2026-09-05 01:14:48 -04:00
optimize_test.go perf(db): keep query planner statistics trustworthy with full ANALYZE (#5740) 2026-07-13 12:04:29 -04:00